1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-22 02:50:28 +03:00

initscript: Remove bash-ism.

Also, change the order of the comparison so it is consistent with
others in the script.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 44696e15cdb23e7656d3bb0ead54f509495738a7)
This commit is contained in:
Martin Schwenke 2010-01-22 17:13:17 +11:00
parent b5254bf4ef
commit 02e68340e8

View File

@ -178,7 +178,7 @@ start() {
check_persistent_databases || return $?
if [ yes == "$CTDB_SUPPRESS_COREFILE" ]; then
if [ "$CTDB_SUPPRESS_COREFILE" = "yes" ]; then
ulimit -c 0
else
ulimit -c unlimited