X-Git-Url: https://iankelling.org/git/?p=tee-unique;a=blobdiff_plain;f=appendu;h=43e2e8737aaffabf42ecc47005e395094bfe6a61;hp=1d9388e8840b580327d6ae4bc8ff41ef1344602f;hb=0b9edb4236585a0ad6ce56af9a9bd35e21b0d75d;hpb=0a9b2b99289f77d803506dc168b9f69c2c5f7924 diff --git a/appendu b/appendu index 1d9388e..43e2e87 100755 --- 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