diff --git a/.config/shell/bin/sleep-until b/.config/shell/bin/sleep-until index 68e65d3..8955a5e 100755 --- a/.config/shell/bin/sleep-until +++ b/.config/shell/bin/sleep-until @@ -11,6 +11,8 @@ if [ -n "$1" ] && date --date="$*" > /dev/null 2>&1; then echo "Sleeping until: $(date --date="$*") (${SLEEP_TIME}s)" if ! "$DRY"; then sleep "$SLEEP_TIME" + else + echo "$SLEEP_TIME" fi else echo "Error: input date '$*' is in the past" >&2