diff options
-rw-r--r-- | sysutils/incron/Makefile | 2 | ||||
-rw-r--r-- | sysutils/incron/files/patch-usertable.cpp | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/incron/Makefile b/sysutils/incron/Makefile index 82a7d3537038..2967f44c7d1f 100644 --- a/sysutils/incron/Makefile +++ b/sysutils/incron/Makefile @@ -1,6 +1,6 @@ PORTNAME= incron DISTVERSION= 2017-11-13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= joh.hendriks@gmail.com 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: + |