]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
it is -f not -x to check if a file exists
authorRonnie Sahlberg <sahlberg@ronnie>
Fri, 1 Jun 2007 03:26:14 +0000 (13:26 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Fri, 1 Jun 2007 03:26:14 +0000 (13:26 +1000)
(This used to be ctdb commit 52457d5e811f91c051ce0fa32739667a1d21862a)

ctdb/tools/events

index da61b8b8e8c3d7f4fb8120f586c195c542db2d7a..20c7653bb2aac4399b5de326dd659fae9b69b75d 100755 (executable)
@@ -76,7 +76,7 @@ case $cmd in
      recovered)
        # if we have taken or released any ips we must send out
        # statd notifications to recover lost nfs locks
-       [ -x /etc/ctdb/statd-callout ] && [ -x /etc/ctdb/changed_ips ] && {
+       [ -x /etc/ctdb/statd-callout ] && [ -f /etc/ctdb/changed_ips ] && {
                /etc/ctdb/statd-callout notify &
        } >/dev/null 2>&1