opnsense-ports/sysutils/incron/files/patch-usertable.cpp
Franco Fichtner d24c05caa3 */*: sync with upstream
Taken from: FreeBSD
2023-08-15 11:17:50 +02:00

11 lines
297 B
C++

--- 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: