From: Harald Hoyer Date: Fri, 19 Oct 2012 09:20:07 +0000 (+0200) Subject: dracut.sh: only 'warn' not 'error', if we don't strip X-Git-Tag: 025~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b26897fb6099ed9ee67ed6e19e751be11d38fcf3;p=thirdparty%2Fdracut.git dracut.sh: only 'warn' not 'error', if we don't strip --- diff --git a/dracut.sh b/dracut.sh index aab850e34..e463404b0 100755 --- a/dracut.sh +++ b/dracut.sh @@ -1031,7 +1031,7 @@ fi if [[ $do_strip = yes ]] ; then for p in strip xargs find; do if ! type -P $p >/dev/null; then - derror "Could not find '$p'. You should run $0 with '--nostrip'." + dwarn "Could not find '$p'. Not stripping the initramfs." do_strip=no fi done