From 0717d99a627f0a10c5a14113092e719195bfc0c3 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 4 Dec 2014 12:19:56 +0000 Subject: [PATCH] /etc/init.d/scst: Exit with status code 0 upon 'start' if already running Reported-by: Dimitar Tanev git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5912 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scstadmin/init.d/scst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scstadmin/init.d/scst b/scstadmin/init.d/scst index d4b1e4f33..c92180a0a 100755 --- a/scstadmin/init.d/scst +++ b/scstadmin/init.d/scst @@ -210,7 +210,7 @@ unload_scst() { start_scst() { if [ -e /sys/module/scst -a -e /sys/module/scst/refcnt ]; then echo Already started - return 1 + return 0 fi parse_scst_conf