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-function
diff --git
a/appendu-function
b/appendu-function
index a169bd7cf680a860116d46928b442b9583baaadb..9dc9b5a601c604f599eae097f22814db3dd0959c 100644
(file)
--- a/
appendu-function
+++ b/
appendu-function
@@
-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