UltimateByte 9 ani în urmă
părinte
comite
3aa5242cc5
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      lgsm/functions/check_permissions.sh

+ 1 - 1
lgsm/functions/check_permissions.sh

@@ -83,7 +83,7 @@ fn_check_permissions(){
 	fi
 	# Check if executable is executable and attempt to fix it
 	# First get executable name
-	execname="$(basename "${executable})"
+	execname="$(basename "${executable}")"
 	if [ -f "${executabledir}/${execname}" ]; then
 		# Get permission numbers on file under the form 775
 		execperm="$(stat -c %a "${executabledir}/${execname}")"