From 14d97ba79e36672101640321af618c018e11fbc3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 24 Aug 2013 22:29:13 +0000 Subject: dtas-console: don't barf if there is no infile Occasionally we will play the output of a command, just display that. --- bin/dtas-console | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dtas-console b/bin/dtas-console index 3693c99..2bdddc3 100755 --- a/bin/dtas-console +++ b/bin/dtas-console @@ -82,7 +82,7 @@ begin if current = cur['current'] Curses.setpos(lineno += 1, 0) Curses.clrtoeol - Curses.addstr(current['infile']) + Curses.addstr(current['infile'] || current['command']) elapsed = Time.now.to_f - current['spawn_at'] if (nr = cur['current_initial']) && (current_format = current['format']) -- cgit v1.2.3-24-ge0c7