X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=appendu-function;h=9dc9b5a601c604f599eae097f22814db3dd0959c;hb=febd02c5e271d98ef4e34cc6861bbb80ead1edc1;hp=a169bd7cf680a860116d46928b442b9583baaadb;hpb=0a9b2b99289f77d803506dc168b9f69c2c5f7924;p=tee-unique diff --git a/appendu-function b/appendu-function index a169bd7..9dc9b5a 100644 --- 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