fix: helper file permissions

This commit is contained in:
aclist committed 2024-08-06 13:27:53 +09:00
1 parent 138a6ff7c8
commit 24a916c11c
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -134,7 +134,7 @@ lan_scan(){
local port="$1"
local res
res=$("$lan_helper" "$port")
if [[ $? -ne 0 ]]; then
if [[ -z $res ]]; then
printf "\n"
else
printf "%s\n" "$res"