diff options
-rwxr-xr-x | notyet | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/notyet b/notyet index b713434..f74631f 100755 --- a/notyet +++ b/notyet @@ -215,6 +215,10 @@ if count_only exit end +if t.children.empty? && !ARGV.empty? + exit 1 +end + if $edit && STDOUT.tty? rd, wr = IO.pipe $stdout = wr |