1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-26 18:50:30 +03:00

Avoid a bashism in 60.ganesha

This file is #!/bin/sh. On sn-devel at least, with this /bin/sh the
shell does not like == for string equality.

(This used to be ctdb commit e2213db479129ce9c2b2fb88ec8c53cbd33d54b3)
This commit is contained in:
Volker Lendecke 2012-10-23 13:45:42 +02:00 committed by Amitay Isaacs
parent 594284f2d7
commit 295dfa771a

View File

@ -28,7 +28,7 @@ service_reconfigure ()
}
loadconfig "nfs"
[ "$NFS_SERVER_MODE" == "ganesha" ] || exit 0
[ "$NFS_SERVER_MODE" = "ganesha" ] || exit 0
ctdb_setup_service_state_dir