lamassu-update minor fix (#174)

* lamassu-update minor fix

reset the terminal when linking/unlinking new exes

* moved hash -r
This commit is contained in:
Fabio Cigliano 2018-09-27 02:32:30 +12:00 committed by Josh Harvey
parent 6a658c4d36
commit 7eb8052b82

View file

@ -69,4 +69,7 @@ BACKUP_CRON="@daily $BACKUP_CMD > /dev/null"
( (crontab -l 2>/dev/null || echo -n "") | grep -v '@daily.*lamassu-backup-pg'; echo $BACKUP_CRON ) | crontab - >> $LOG_FILE 2>&1
$BACKUP_CMD >> $LOG_FILE 2>&1
# reset terminal to link new executables
hash -r
decho "Update complete!"