summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/lib.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/lib.sh b/include/lib.sh
index 5b21d81c..a1b6aa0d 100755
--- a/include/lib.sh
+++ b/include/lib.sh
@@ -183,9 +183,8 @@ rmgit()
singletree()
{
for targetfile in "config/${1}/"*/target.cfg; do
- [ -e "$targetfile" ] || continue
- [ -f "$targetfile" ] && return 1
- done
+ [ -e "$targetfile" ] && [ -f "$targetfile" ] && return 1
+ done; return 0
}
download()