Skip to content

Commit

Permalink
mt: skip sleep when no tty
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Mar 27, 2024
1 parent c581c6f commit 8584f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mail-toaster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ get_random_ip6net()
tell_status()
{
echo; echo " *** $1 ***"; echo
sleep 1
if [ -t 0 ]; then sleep 1; fi
}

store_config()
Expand Down Expand Up @@ -814,7 +814,7 @@ tell_settings()
echo; echo " *** Configured $1 settings: ***"; echo
set | grep "^$1_"
echo
sleep 2
if [ -t 0 ]; then sleep 2; fi
}

proclaim_success()
Expand Down

0 comments on commit 8584f92

Please sign in to comment.