Fix the -n -> -z

This commit is contained in:
Clemens Schwaighofer
2025-05-30 09:37:28 +09:00
parent 298dc19a9a
commit 7ca5f973d4

View File

@@ -102,7 +102,7 @@ do
continue;
fi;
# skip empty lines
if [ -n "$line" ]; then
if [ -z "$line" ]; then
continue;
fi;
# extract screen title and command (should also be cleaned for title)