base/dracut-lib.sh: do not setdebug, if not in initramfs
parent
9268366cad
commit
2b125c69cc
|
|
@ -325,6 +325,7 @@ splitsep() {
|
|||
}
|
||||
|
||||
setdebug() {
|
||||
[ -f /etc/initrd-release ] || return
|
||||
if [ -z "$RD_DEBUG" ]; then
|
||||
if [ -e /proc/cmdline ]; then
|
||||
RD_DEBUG=no
|
||||
|
|
|
|||
Loading…
Reference in New Issue