From a64d1f4d6c3581ebfc5425a7115e86f6f8de5473 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 11 Nov 2017 22:48:37 -0500 Subject: [PATCH] aha, defective sudo alias was at fault --- scripts/core/functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 9dcfce80..67977085 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -363,14 +363,15 @@ if [ -z "$skip_all" ]; then # sudo function wraps the normal sudo by ensuring we replace the terminal # label if they're doing an su with the sudo. function sudo() { -# local first_command="$1" save_terminal_title /usr/bin/sudo "$@" + retval=$? restore_terminal_title # if [ "$first_command" == "su" ]; then # # yep, they were doing an su, but they're back now. # label_terminal_with_info # fi + return $retval } # trashes the .#blah files that cvs and subversion leave behind when finding conflicts. -- 2.34.1