return 0 even if we made changes
authorIan Kelling <ian@iankelling.org>
Sun, 25 Sep 2016 04:09:52 +0000 (21:09 -0700)
committerIan Kelling <ian@iankelling.org>
Sun, 25 Sep 2016 04:09:52 +0000 (21:09 -0700)
cedit

diff --git a/cedit b/cedit
index 0a6b4c938a74e9d79fa212d9bc21e852b1f46c0a..629fe01b1e01db5baabbed83a317206dca5ef2bb 100755 (executable)
--- a/cedit
+++ b/cedit
@@ -108,11 +108,10 @@ section. cedit is short for config edit.
         fi
     else
         diff=$(cmp "$temp" "$file")
-        ret=$?
         if $verbose; then
             echo "$diff"
         fi
     fi
-    return $ret
+    return 0
 }
 cedit "$@"