From: Chris Koeritz Date: Sun, 31 May 2020 02:54:57 +0000 (-0400) Subject: testing sudo function X-Git-Tag: 2.140.121^2~2 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=90d5ddd79a107325bb0d7b566ec61c9f93cdd19c testing sudo function --- diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 647c8ef9..baf8a1ea 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -433,10 +433,11 @@ if [ -z "$skip_all" ]; then # aliases). we turn off the expand_aliases shell option to avoid passing # the sentinel, which ensures aliases do get recreated for the new user. BUILD_VARS_LOADED= \ - CORE_VARIABLES_LOADED= \ - FEISTY_MEOW_SCRIPTS_LOADED= \ - function_sentinel= \ - MAIL= \ + CORE_VARIABLES_LOADED= \ + FEISTY_MEOW_SCRIPTS_LOADED= \ + function_sentinel= \ + MAIL= \ + HOME= \ bash +O expand_aliases -c "$cmd" retval=$? restore_terminal_title