debug
This commit is contained in:
parent
7ccd27c8df
commit
a557b0ad9f
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user