Pārlūkot izejas kodu

Fixed incorrect flag.

Caleb Gasser 3 gadi atpakaļ
vecāks
revīzija
ad7044ee4d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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