X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fbootscripts%2Ffunctions;fp=stage1%2Fbootscripts%2Ffunctions;h=4056f1a52a79c8b8b4a484a70915b6c9fbf0df9e;hb=564ec1bbb321286571c30da20b81620c33b18e6f;hp=3d8ffb5f085712a95e7348c06d60e9ffd54ff2d2;hpb=16c81190b3ca1da2e26645020dd3cb9f8625521c;p=hvlinux.git diff --git a/stage1/bootscripts/functions b/stage1/bootscripts/functions index 3d8ffb5..4056f1a 100644 --- a/stage1/bootscripts/functions +++ b/stage1/bootscripts/functions @@ -449,7 +449,7 @@ reloadproc() if [ ${?} -ne 0 ]; then sleep 2 - if statusproc ${base} | grep "not running" 1> /dev/null 2>&1; then + if statusproc ${base} | grep -q "not running"; then return ${EXIT_CODE_FAILURE} fi fi