summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index c58ccb3..13764a4 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -1336,7 +1336,7 @@ CT_DoLoadState(){
CT_DoLog STATE " Restoring log file"
exec >/dev/null
case "${CT_DEBUG_CT_SAVE_STEPS_GZIP}" in
- y) zcat "${state_dir}/log.gz" >"${tmp_log_file}";;
+ y) gzip -dc "${state_dir}/log.gz" >"${tmp_log_file}";;
*) cat "${state_dir}/log" >"${tmp_log_file}";;
esac
cat "${state_dir}/tail.log" >>"${tmp_log_file}"