stop returning 1. use pipefail if needed
authorIan Kelling <iank@fsf.org>
Fri, 2 Aug 2019 11:55:14 +0000 (07:55 -0400)
committerIan Kelling <iank@fsf.org>
Fri, 2 Aug 2019 11:55:14 +0000 (07:55 -0400)
log-once

index 9b5da386ef62110ae1e6e495a9aaf6dc17890173..179dacfd8c670eea5035a2c6255d7a9e60a727c5 100755 (executable)
--- a/log-once
+++ b/log-once
@@ -88,7 +88,7 @@ state in the same directory.
             $out $file <<<"${output[@]}"
             $out $file
         fi
-        return 1
+        return 0
     fi
     if [[ $file ]]; then
         rm -f $file