mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 03:30:32 -04:00
- Changelog: https://github.com/ClusterLabs/resource-agents/blob/master/ChangeLog - Fix shebangs PR: 219546 Submitted by: David Shane Holden (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D10984
11 lines
349 B
Text
11 lines
349 B
Text
--- tools/ocf-tester.in.orig 2016-04-05 14:11:59 UTC
|
|
+++ tools/ocf-tester.in
|
|
@@ -216,7 +216,7 @@ lrm_test_command() {
|
|
test_permissions() {
|
|
action=meta-data
|
|
debug ${1:-"Testing permissions with uid nobody"}
|
|
- su nobody -s /bin/sh -c "$agent $action" > /dev/null
|
|
+ su -m nobody -c "$agent $action" > /dev/null
|
|
}
|
|
|
|
test_metadata() {
|