base/dracut-lib.sh: turn on PS4 for bash debugging
parent
8f5d36896d
commit
0d837ebf2a
|
@ -200,7 +200,9 @@ setdebug() {
|
||||||
RD_DEBUG=no
|
RD_DEBUG=no
|
||||||
if getargbool 0 rd.debug -y rdinitdebug -y rdnetdebug; then
|
if getargbool 0 rd.debug -y rdinitdebug -y rdnetdebug; then
|
||||||
RD_DEBUG=yes
|
RD_DEBUG=yes
|
||||||
fi
|
[ -n "$BASH" ] && \
|
||||||
|
export PS4='${BASH_SOURCE}@${LINENO}(${FUNCNAME[0]}): ';
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
export RD_DEBUG
|
export RD_DEBUG
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue