mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
PR: 272800 Reported by: trueos@norwegianrockcat.com Approved by: joh.hendriks@gmail.com (maintainer, timeout > 2 weeks)
11 lines
297 B
C++
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:
|
|
|