iankelling.org
/
git
/
tee-unique
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a9b2b9
)
fix bug, exited instead of return
author
Ian Kelling
<ian@iankelling.org>
Wed, 18 Jun 2014 23:35:04 +0000
(16:35 -0700)
committer
Ian Kelling
<ian@iankelling.org>
Wed, 18 Jun 2014 23:35:04 +0000
(16:35 -0700)
appendu
patch
|
blob
|
history
appendu-function
patch
|
blob
|
history
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
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