Переглянути джерело

Update netclient-install.sh

Remove sudo command from line 108

The script already checks to make sure it's being run as root, so sudo is superfluous here, and causes minimal Debian installs to fail since sudo is not included in base Debian.
CooperNatties 3 роки тому
батько
коміт
6dc6423f63
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      scripts/netclient-install.sh

+ 1 - 1
scripts/netclient-install.sh

@@ -105,5 +105,5 @@ else
 	wget -nv -O netclient https://github.com/gravitl/netmaker/releases/download/latest/$dist
 	wget -nv -O netclient https://github.com/gravitl/netmaker/releases/download/latest/$dist
 fi
 fi
 chmod +x netclient
 chmod +x netclient
-sudo ./netclient join -t $KEY
+./netclient join -t $KEY
 rm -f netclient
 rm -f netclient