diff options
Diffstat (limited to 'include/lib.sh')
-rwxr-xr-x | include/lib.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/lib.sh b/include/lib.sh index 9d66ea8d..fa15bd6a 100755 --- a/include/lib.sh +++ b/include/lib.sh @@ -223,8 +223,7 @@ e() singletree() { for targetfile in "config/${1}/"*/target.cfg; do - [ ! -e "$targetfile" ] && continue - [ -f "$targetfile" ] && return 1 + [ -e "$targetfile" ] && [ -f "$targetfile" ] && return 1 done } |