Prechádzať zdrojové kódy

Fixed incorrect flag.

Caleb Gasser 3 rokov pred
rodič
commit
ad7044ee4d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      scripts/netclient-install.sh

+ 1 - 1
scripts/netclient-install.sh

@@ -215,7 +215,7 @@ if [ "${KEY}" != "nokey" ]; then
 fi
 
 if [ "${OS}" = "FreeBSD" ]; then
-  if ! [ -f /usr/sbin/netclient ]; then
+  if ! [ -x /usr/sbin/netclient ]; then
     echo "Moving netclient executable to \"/usr/sbin/netclient\""
     mv netclient /usr/sbin  
   else