From 7eb8052b824946d18fd825f577737c9a59950c03 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 37bc4c55..c4f760d1 100755 --- a/bin/lamassu-update +++ b/bin/lamassu-update @@ -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!"