Add debug function to become

This commit is contained in:
Lutchy Horace 2021-03-17 17:56:09 -04:00
parent c9b11e82b4
commit 0f3dfc0819
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ function become
"\nIf this is the case, please remove '$_bbfile' and run this script '$_bb_mypath' again."
fi
debug "Escalating priviledge!"
touch $_bbfile
sudo bash --login $_bb_mypath "$@"
rm $_bbfile