Browse Source

Merge pull request #456 from MikePadge/patch-1

Update netclient-install.sh
Alex 3 years ago
parent
commit
b6acf2083e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/netclient-install.sh

+ 2 - 2
scripts/netclient-install.sh

@@ -167,9 +167,9 @@ if [ "${OS}" = "FreeBSD" ]; then
 fi
 fi
 
 
 if [ -z "${NAME}" ]; then
 if [ -z "${NAME}" ]; then
-sudo ./netclient join -t $KEY $EXTRA_ARGS
+  ./netclient join -t $KEY $EXTRA_ARGS
 else
 else
-sudo ./netclient join -t $KEY --name $NAME $EXTRA_ARGS
+  ./netclient join -t $KEY --name $NAME $EXTRA_ARGS
 fi
 fi
 
 
 rm -f netclient
 rm -f netclient