diff options
Diffstat (limited to 'bootscripts/contrib/lsb-v3/init.d/lfs-functions')
-rw-r--r-- | bootscripts/contrib/lsb-v3/init.d/lfs-functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootscripts/contrib/lsb-v3/init.d/lfs-functions b/bootscripts/contrib/lsb-v3/init.d/lfs-functions index afcd05de8..b0fef4c29 100644 --- a/bootscripts/contrib/lsb-v3/init.d/lfs-functions +++ b/bootscripts/contrib/lsb-v3/init.d/lfs-functions @@ -77,7 +77,7 @@ statusproc() pidlist=`pidofproc "${BIN_FILE}"` STATUS=$? echo "Checking ${MESSAGE} status:" - if [ "${STATUS}" = "0" ]; then + if [ "${STATUS}" -eq "0" ]; then log_success_msg "Running with PID(s) ${pidlist}" else log_warning_msg "Not running!" @@ -202,7 +202,7 @@ evaluate_retval() # Print messages for the generic force-reload, reload, restart, # and try-restart targets - if [ "${error_value}" = "0" ] + if [ "${error_value}" -eq "0" ] then log_success_msg "${message}${MESSAGE} " return "${error_value}" |