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