summaryrefslogtreecommitdiff
path: root/sysutils/incron/files/patch-usertable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/incron/files/patch-usertable.cpp')
-rw-r--r--sysutils/incron/files/patch-usertable.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/incron/files/patch-usertable.cpp b/sysutils/incron/files/patch-usertable.cpp
new file mode 100644
index 000000000000..3aa95dfec2ee
--- /dev/null
+++ b/sysutils/incron/files/patch-usertable.cpp
@@ -0,0 +1,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:
+