1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-09-07 06:02:27 +02:00

fix: helper file permissions

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

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"