summaryrefslogtreecommitdiff
path: root/scripts/saveSample.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-06-16 22:23:53 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-06-16 22:23:53 (GMT)
commit5e07f7cfc3292f4c185a570546e449b096056da7 (patch)
tree54db73ad95a7ceda786f66fea50de9301fbb7161 /scripts/saveSample.sh
parentd8bc11b1653185bc826680243cc32b87a6451df2 (diff)
scripts/functions is responsible for initiating the log file.
Users of the log facility are in charge to use, move, delete this log file, now.
Diffstat (limited to 'scripts/saveSample.sh')
-rwxr-xr-xscripts/saveSample.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/saveSample.sh b/scripts/saveSample.sh
index 3d58bd9..7a5b57c 100755
--- a/scripts/saveSample.sh
+++ b/scripts/saveSample.sh
@@ -10,8 +10,9 @@
. "${CT_TOP_DIR}/scripts/functions"
-exec 6>&1
+# Don't care about any log file
exec >/dev/null
+rm -f "${tmp_log_file}"
# Parse the configuration file
CT_TestOrAbort "Configuration file not found. Please create one." -f "${CT_TOP_DIR}/.config"