Skip to content

Commit

Permalink
fix stdout redirect on 'run' script
Browse files Browse the repository at this point in the history
  • Loading branch information
fscm committed Nov 7, 2019
1 parent 5b2a849 commit c1556b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/scripts/run
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ if [ "${ACTION_INIT}" -gt 0 ]; then

# Clean up unneeded backups
if [ -f "${PRITUNL_CONF}.${__TS__}.bck" ]; then
diff -q "${PRITUNL_CONF}" "${PRITUNL_CONF}.${__TS__}.bck" 2>&1 > /dev/null && rm -f "${PRITUNL_CONF}.${__TS__}.bck" || true
diff -q "${PRITUNL_CONF}" "${PRITUNL_CONF}.${__TS__}.bck" > /dev/null 2>&1 && rm -f "${PRITUNL_CONF}.${__TS__}.bck" || true
fi

# All done
Expand Down

0 comments on commit c1556b8

Please sign in to comment.