[RFC PATCH 06/12] init-d-script: try-restart should return 0 if not running

Trek trek00 at inbox.ru
Thu Jul 2 18:18:50 BST 2020


Needed to meet LSB specification 5.0.0 chapter 22.2 and
Debian Policy Manual 4.5.0.2 chapter 9.3.2.
---
 debian/init-d-script | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/init-d-script b/debian/init-d-script
index 17fdb75e..e79da220 100755
--- a/debian/init-d-script
+++ b/debian/init-d-script
@@ -242,7 +242,7 @@ case "$1" in
             log_end_msg $?
 	else
 	    log_progress_msg "is not running."
-            log_end_msg 1
+            log_end_msg 0
     	fi
 	;;
   '')
-- 
2.20.1





More information about the Debian-init-diversity mailing list