summaryrefslogtreecommitdiff
path: root/scripts/saveSample.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/saveSample.sh.in')
-rw-r--r--scripts/saveSample.sh.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/saveSample.sh.in b/scripts/saveSample.sh.in
index e91dc9e..2dfdf52 100644
--- a/scripts/saveSample.sh.in
+++ b/scripts/saveSample.sh.in
@@ -21,7 +21,10 @@ exec >/dev/null
rm -f "${tmp_log_file}"
# Parse the configuration file
-CT_TestOrAbort "Configuration file not found. Please create one." -f .config
+# Don't use CT_TestOrAbort, it prints the test string to [DEBUG]
+if [ ! -f .config ]; then
+ CT_Abort "Configuration file not found. Please create one."
+fi
. .config
# We can not reliably save a sample which either uses local patches