This commit is contained in:
Gordon Grant-Stuart 2022-11-29 11:02:31 +00:00
parent 7ccd27c8df
commit a557b0ad9f

View File

@ -22,8 +22,8 @@ function ruroot () {
} }
if [[ "${2}" == "--debug" ]]; then if [[ "${2}" == "--debug" ]]; then
dev='/dev/stdout' dev=$(tty)
echo "debug enabled" > $dev echo "debug enabled on $dev" > $dev
fi fi