Skip to content
Snippets Groups Projects
Commit 8f76bdeb authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

save config diffs

parent 37ffde37
Branches
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ fi ...@@ -129,7 +129,7 @@ fi
# --- create target file # --- create target file
diff "${tmpfile}" "${outfile}" >> ${cfgdiff} 2>/dev/null diff "${tmpfile}" "${outfile}" >> ${cfgdiff} 2>/dev/null
if [ $? -eq 0 && -f "${outfile}" ]; then if [ $? -eq 0 -a -f "${outfile}" ]; then
_warn "INFO: no changes." _warn "INFO: no changes."
else else
mv -f "${tmpfile}" "${outfile}" || exit 4 mv -f "${tmpfile}" "${outfile}" || exit 4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment