diff options
Diffstat (limited to 'scripts/saveSample.sh.in')
-rw-r--r-- | scripts/saveSample.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/saveSample.sh.in b/scripts/saveSample.sh.in index e91dc9e0..2dfdf529 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 |