From c38ed7e17f822dc19268aec8604c1346dded581b Mon Sep 17 00:00:00 2001 From: qo-op Date: Mon, 11 May 2020 15:13:06 +0200 Subject: [PATCH] MY_PATH --- g1sms/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g1sms/init.sh b/g1sms/init.sh index 9487211..0c46ed8 100755 --- a/g1sms/init.sh +++ b/g1sms/init.sh @@ -9,7 +9,7 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1); if [[ $(whoami) == "root" ]]; then - su $YOU + su - $YOU cd $MY_PATH export IPFSNODEID=$(ipfs id -f='\n') #chown -R $YOU /tmp/zen/