From d30c716cf007289137b3c6386086a8c4792686f5 Mon Sep 17 00:00:00 2001 From: "Jason M. Wood" Date: Fri, 25 May 2018 13:15:25 -0700 Subject: [PATCH] mscs: use the set-home arugment to sudo to fix /home/jwood --- mscs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mscs b/mscs index 74c7437..0cc7ea0 100755 --- a/mscs +++ b/mscs @@ -31,5 +31,5 @@ MSCS_ARGS="-p $PROG -l $LOCATION -c $MSCS_DEFAULTS $@" if [ "$USER_NAME" = "$(whoami)" ]; then msctl $MSCS_ARGS else - sudo "PATH=$PATH" -u $USER_NAME msctl $MSCS_ARGS + sudo "PATH=$PATH" -u $USER_NAME --set-home msctl $MSCS_ARGS fi