chiark / gitweb /
cmd_version: check error
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Sep 2013 20:12:15 +0000 (21:12 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Sep 2013 20:12:15 +0000 (21:12 +0100)
dgit

diff --git a/dgit b/dgit
index 337d076..37e8364 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1202,7 +1202,7 @@ sub cmd_quilt_fixup {
 }
 
 sub cmd_version {
 }
 
 sub cmd_version {
-    print "dgit version $our_version\n";
+    print "dgit version $our_version\n" or die $!;
 }
 
 sub parseopts () {
 }
 
 sub parseopts () {