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
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,7 @@ fi
# --- create target file
diff "${tmpfile}" "${outfile}" >> ${cfgdiff} 2>/dev/null
if [ $? -eq 0 && -f "${outfile}" ]; then
if [ $? -eq 0 -a -f "${outfile}" ]; then
_warn "INFO: no changes."
else
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