summaryrefslogtreecommitdiff
path: root/sysutils/incron/files/patch-usertable.cpp
blob: 3aa95dfec2eef118d0476cd1245389bf2bb1cfcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- usertable.cpp.orig	2023-07-29 17:29:34 UTC
+++ usertable.cpp
@@ -608,7 +608,7 @@ void UserTable::RunAsUser(std::string cmd) const
     }
   }
   
-  execlp("/bin/bash","/bin/bash", "-c", cmd.c_str(), (char *)NULL);
+  execlp("/bin/sh","/bin/sh", "-c", cmd.c_str(), (char *)NULL);
 
 failed: