mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
I now always 'exit -1' on error
This commit is contained in:
parent
103b47454c
commit
707196580a
@ -173,7 +173,7 @@ sub interpretCommandline
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
print STDERR "--stream can only take in values >=0 or 'trigger'\n";
|
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)
|
elsif ( $options->{stream} <= 0)
|
||||||
{
|
{
|
||||||
print STDERR "--stream can only take in values >=0 or 'trigger'\n";
|
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 "Tried to exceed the --maxcurves setting.\n";
|
||||||
print STDERR "Invoke with a higher --maxcurves limit if you really want to do this.\n";
|
print STDERR "Invoke with a higher --maxcurves limit if you really want to do this.\n";
|
||||||
exit;
|
exit -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
my ($id) = @_;
|
my ($id) = @_;
|
||||||
|
Loading…
Reference in New Issue
Block a user