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:
parent
49f8b66de0
commit
39b7070ffe
1 changed files with 3 additions and 0 deletions
|
|
@ -65,4 +65,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!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue