Run watch with exec.
This commit is contained in:
parent
ee302d8deb
commit
f8f0a6b2f2
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ done
|
||||||
if (( WATCH_MODE == 1 )); then
|
if (( WATCH_MODE == 1 )); then
|
||||||
export CHANGELOG_URL MAX_LINES
|
export CHANGELOG_URL MAX_LINES
|
||||||
export -f colourise_CL
|
export -f colourise_CL
|
||||||
watch -n "$REFRESH_INTERVAL" -t -c "$0 -u \"$CHANGELOG_URL\" -l \"$MAX_LINES\""
|
exec watch -n "$REFRESH_INTERVAL" -t -c "$0 -u \"$CHANGELOG_URL\" -l \"$MAX_LINES\""
|
||||||
exit $?
|
exit $?
|
||||||
else
|
else
|
||||||
colourise_CL
|
colourise_CL
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue