diff --git a/eddy_correct b/eddy_correct
index 7dc14801b1e77b8ed6ae3b2fb48956f13c0d419d..0216ff8c5ed12429f7d63591bbe26d8ac601b79a 100755
--- a/eddy_correct
+++ b/eddy_correct
@@ -8,7 +8,7 @@ Usage() {
     echo ""
     echo "Usage: eddy_correct <4dinput> <4doutput> <reference_no>"
     echo ""
-    exit
+    exit 1
 }
 
 [ "$3" = "" ] && Usage
@@ -19,7 +19,7 @@ ref=${3}
 
 if [ `${FSLDIR}/bin/imtest $input` -eq 0 ];then
     echo "Input does not exist or is not in a supported format"
-    exit
+    exit 1
 fi
 
 avwroi $input $output $ref 1
diff --git a/linkbedpost b/linkbedpost
index f8788f501c3b8e2f673ac2c1291160a641886cd0..38efcb911f57c674548e990def14c73e404420ed 100755
--- a/linkbedpost
+++ b/linkbedpost
@@ -4,7 +4,7 @@ if [ $# -lt 1 ];then
     echo "Usage: linkbedpost <sourcedir>"
     echo ""
     echo "linkbedpost /usr/people/dtiuser/OCMR/CONTROLS/2mmdata/OCMR_20_001.bedpost"
-    exit
+    exit 1
 fi