iankelling.org
/
git
/
tee-unique
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix bug, exited instead of return
[tee-unique]
/
appendu
diff --git
a/appendu
b/appendu
index 1d9388e8840b580327d6ae4bc8ff41ef1344602f..43e2e8737aaffabf42ecc47005e395094bfe6a61 100755
(executable)
--- a/
appendu
+++ b/
appendu
@@
-49,7
+49,7
@@
Appended lines are output to the terminal.
[[ ! -w $dir ]] && writesudo=sudo
else
echo "appendu error: $dir does not exist"
-
exit
1
+
return
1
fi
fi
if ! $dosudo; then