From: Mischa POSLAWSKY Date: Wed, 11 Sep 2019 14:55:40 +0000 (+0200) Subject: only ignore interrupt signal after input X-Git-Url: http://git.shiar.nl/barcat.git/commitdiff_plain/471e579c603c780fa8576b117001a1e1705d0c3d only ignore interrupt signal after input --- diff --git a/barcat b/barcat index 1b780e6..2f73fa5 100755 --- a/barcat +++ b/barcat @@ -100,6 +100,7 @@ if (defined $opt{interval}) { $SIG{INT} = sub { $SIG{INT} = 'DEFAULT'; # reset for subsequent attempts + exit if !$.; 'IGNORE' # continue after assumed eof };