summaryrefslogtreecommitdiff
path: root/auto/functions/compat
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-10-11 10:17:56 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2012-10-11 10:19:01 +0200
commit82b8b80cb2a042e84c4439d8d79d12d3336e4aea (patch)
tree9972a0e11fd089aac8f70f1b674863c80320985c /auto/functions/compat
parentcf4d567dd43d724fac4d17a7688cd714e18b71af (diff)
downloadkanotix-82b8b80cb2a042e84c4439d8d79d12d3336e4aea.zip
kanotix-82b8b80cb2a042e84c4439d8d79d12d3336e4aea.tar.gz
fixed exitcode of Compat_clean()
Diffstat (limited to 'auto/functions/compat')
-rw-r--r--auto/functions/compat3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/functions/compat b/auto/functions/compat
index 7d6e4ce..25a4a71 100644
--- a/auto/functions/compat
+++ b/auto/functions/compat
@@ -82,12 +82,13 @@ Compat_clean()
{
for i in config/*.compat
do
- [ -e "$i" ] || return
+ [ -e "$i" ] || return 0
target="$(basename "$i" .compat)"
[ -e config/$target ] || continue
rm -r config/$target
rm "$i"
done
+ return 0
}
case "$LB_VERSION" in