From: Nathan Wagner Date: Wed, 2 Apr 2014 00:01:24 +0000 (+0000) Subject: fix error in rc.shutdown X-Git-Url: https://pd.if.org/git/?p=startuptools;a=commitdiff_plain;h=099711515bc014843a06e1aa9b13f1b40d777327 fix error in rc.shutdown --- diff --git a/scripts/rc.shutdown b/scripts/rc.shutdown index a07cc9a..ee5c439 100644 --- a/scripts/rc.shutdown +++ b/scripts/rc.shutdown @@ -61,7 +61,7 @@ if is_true "$USELVM" && [ -x /sbin/vgchange ]; then status_check fi -if [ -x /sbin/udevadm && is_true "$USE_UDEV" ; then +if [ -x /sbin/udevadm ] && is_true "$USE_UDEV" ; then status_begin "Shutting down udev" /sbin/udevadm control --exit status_check