From 0f3dfc08193b370848f2ae3d4af012fc8106a2c2 Mon Sep 17 00:00:00 2001 From: Lutchy Horace Date: Wed, 17 Mar 2021 17:56:09 -0400 Subject: [PATCH] Add debug function to become --- bootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap.sh b/bootstrap.sh index bb1db77..f7cadac 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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