mirror of
https://github.com/samba-team/samba.git
synced 2025-03-23 06:50:21 +03:00
initscript: Check that rc.ctdb is executable before running it
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 59a47c0674bacfebc17a1b44f0244727bf2fa7a4)
This commit is contained in:
parent
199b971f57
commit
ad8eb45fe2
@ -392,7 +392,7 @@ status() {
|
||||
}
|
||||
|
||||
|
||||
[ -f "$CTDB_BASE/rc.ctdb" ] && "$CTDB_BASE/rc.ctdb" $1
|
||||
[ -x "$CTDB_BASE/rc.ctdb" ] && "$CTDB_BASE/rc.ctdb" $1
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
|
Loading…
x
Reference in New Issue
Block a user