Add debug function to become
This commit is contained in:
parent
c9b11e82b4
commit
0f3dfc0819
|
@ -90,6 +90,7 @@ function become
|
||||||
"\nIf this is the case, please remove '$_bbfile' and run this script '$_bb_mypath' again."
|
"\nIf this is the case, please remove '$_bbfile' and run this script '$_bb_mypath' again."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
debug "Escalating priviledge!"
|
||||||
touch $_bbfile
|
touch $_bbfile
|
||||||
sudo bash --login $_bb_mypath "$@"
|
sudo bash --login $_bb_mypath "$@"
|
||||||
rm $_bbfile
|
rm $_bbfile
|
||||||
|
|
Loading…
Reference in New Issue