From 3aa5242cc564cc877513aee6826d48bf807386bf Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Wed, 19 Oct 2016 18:34:07 +0200 Subject: [PATCH] syntax --- lgsm/functions/check_permissions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/check_permissions.sh b/lgsm/functions/check_permissions.sh index e8aa53d8a..0822c160e 100644 --- a/lgsm/functions/check_permissions.sh +++ b/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}")"