diff --git a/bin/v-list-sys-services b/bin/v-list-sys-services index 77ed06508..4bea1b38f 100755 --- a/bin/v-list-sys-services +++ b/bin/v-list-sys-services @@ -31,7 +31,7 @@ get_srv_state() { else pids=$(pidof -x $proc_name |tr ' ' '|') fi - if [ -z "$pids" ]; then + if [ -z "$pids" ] && [ "$proc_name" != 'nginx' ] ; then #fallback to pgrep pids=$(pgrep $proc_name |tr '\n' '|') fi