From c11f9a1be78134c7696d06435ecc4a0d5c85e6e7 Mon Sep 17 00:00:00 2001 From: Duncan Mortimer <duncan.mortimer@ndcn.ox.ac.uk> Date: Tue, 24 Jul 2007 19:26:06 +0000 Subject: [PATCH] Fix exit code on incorrect cmd line --- proj_thresh.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proj_thresh.cc b/proj_thresh.cc index 386035c..fb59ee7 100644 --- a/proj_thresh.cc +++ b/proj_thresh.cc @@ -12,7 +12,7 @@ using namespace NEWIMAGE; int main ( int argc, char **argv ){ if(argc<3){ cerr<<"usage:proj_thresh <lots of volumes> threshold"<<endl; - exit(0); + exit(1); } vector<volume<float> > tmpvec; // vector<volume<float> > outvec; -- GitLab