diff options
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/rc-services.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sbin/rc-services.sh b/sbin/rc-services.sh index 0badfd5..e828863 100755 --- a/sbin/rc-services.sh +++ b/sbin/rc-services.sh @@ -527,12 +527,8 @@ test_service_state() { # Service is in the state requested [[ -L ${f} ]] && return 0 - if [[ ! -e ${f} ]] ; then - rm -f "${f}" - return 1 - fi - - return 0 + [[ ! -e ${f} ]] && rm -f "${f}" + return 1 } # bool service_starting(service) |