From: Harald Hoyer Date: Thu, 18 Apr 2013 10:54:30 +0000 (+0200) Subject: base/dracut-lib.sh: do not setdebug, if not in initramfs X-Git-Tag: 028~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b125c69cc80baae765a868992003ddd349a7ae9;p=thirdparty%2Fdracut.git base/dracut-lib.sh: do not setdebug, if not in initramfs --- diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index 9f4b2d2a7..ae79a8211 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -325,6 +325,7 @@ splitsep() { } setdebug() { + [ -f /etc/initrd-release ] || return if [ -z "$RD_DEBUG" ]; then if [ -e /proc/cmdline ]; then RD_DEBUG=no