summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-10-30 21:59:41 +0100
committerlassulus <lassulus@googlemail.com>2013-10-30 21:59:41 +0100
commit2182792dd9049407d428d8e5607500ae2828eb1a (patch)
treee8fa26819adc7733e73044cca32b19b41cca4a1f /util
parenteb34f03e0a1705089e2df9184277245c8bce9848 (diff)
make-realwallpaper return 1 instead of -1
Diffstat (limited to 'util')
-rwxr-xr-xutil/bin/make-realwallpaper4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/bin/make-realwallpaper b/util/bin/make-realwallpaper
index 2406372e..1f16b079 100755
--- a/util/bin/make-realwallpaper
+++ b/util/bin/make-realwallpaper
@@ -119,7 +119,7 @@ needs_rebuild() {
#echo " $a does not exist" >&2
result=0
else
- result=-1
+ result=1
for b; do
if test "$b" -nt "$a"; then
#echo " $b is newer than $a" >&2
@@ -130,7 +130,7 @@ needs_rebuild() {
#case $result in
# 0) echo "$a needs rebuild" >&2;;
#esac
- (exit $result)
+ return $result
}