[SCM] Feedgnuplot. Pipe-oriented frontend to Gnuplot. branch, debian, updated. debian/1.24-2-3-g854a045

Dima Kogan dima at secretsauce.net
Sat Jun 15 08:26:08 UTC 2013


The following commit has been merged in the debian branch:
commit cd14627cbac30c28d02b7814532134abf75d4606
Author: Dima Kogan <dima at secretsauce.net>
Date:   Fri Jun 14 23:13:54 2013 -0700

    I now always 'exit -1' on error

diff --git a/bin/feedgnuplot b/bin/feedgnuplot
index 7c0c4e0..091be88 100755
--- a/bin/feedgnuplot
+++ b/bin/feedgnuplot
@@ -173,7 +173,7 @@ sub interpretCommandline
       else
       {
         print STDERR "--stream can only take in values >=0 or 'trigger'\n";
-        exit 1;
+        exit -1;
       }
     }
 
@@ -184,7 +184,7 @@ sub interpretCommandline
     elsif ( $options->{stream} <= 0)
     {
       print STDERR "--stream can only take in values >=0 or 'trigger'\n";
-      exit 1;
+      exit -1;
     }
   }
 
@@ -655,7 +655,7 @@ sub getCurve
   {
     print STDERR "Tried to exceed the --maxcurves setting.\n";
     print STDERR "Invoke with a higher --maxcurves limit if you really want to do this.\n";
-    exit;
+    exit -1;
   }
 
   my ($id) = @_;

-- 
Feedgnuplot. Pipe-oriented frontend to Gnuplot.



More information about the debian-science-commits mailing list