From 39b7070ffe41f8fee9b439227c34601e2f57e9ed Mon Sep 17 00:00:00 2001 From: Fabio Cigliano Date: Thu, 27 Sep 2018 02:32:30 +1200 Subject: [PATCH] lamassu-update minor fix (#174) * lamassu-update minor fix reset the terminal when linking/unlinking new exes * moved hash -r --- bin/lamassu-update | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/lamassu-update b/bin/lamassu-update index aade1b50..340c01cd 100755 --- a/bin/lamassu-update +++ b/bin/lamassu-update @@ -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!"