diff options
author | Alexey Neyman <stilor@att.net> | 2015-11-13 18:21:54 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2015-11-14 15:26:46 -0800 |
commit | 6744ff68e4dbcb6456d7b9ef054c3ed114eabc2e (patch) | |
tree | 4c9e947b1d1ac34a0aa2b5095546f510fb4e2195 /scripts | |
parent | e78251b75158689ace2194e8c87aa7b7bb5ec951 (diff) | |
download | crosstool-ng-6744ff68e4dbcb6456d7b9ef054c3ed114eabc2e.tar.gz crosstool-ng-6744ff68e4dbcb6456d7b9ef054c3ed114eabc2e.tar.bz2 crosstool-ng-6744ff68e4dbcb6456d7b9ef054c3ed114eabc2e.zip |
Do not log state saving/restoring as ERROR.
These are not errors.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/functions | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/functions b/scripts/functions index f09df54b..660e0846 100644 --- a/scripts/functions +++ b/scripts/functions @@ -1354,8 +1354,7 @@ CT_DoSaveState() { local state_name="$1" local state_dir="${CT_STATE_DIR}/${state_name}" - # Log this to the log level required by the user - CT_DoLog ${CT_LOG_LEVEL_MAX} "Saving state to restart at step '${state_name}'..." + CT_DoLog INFO "Saving state to restart at step '${state_name}'..." rm -rf "${state_dir}" mkdir -p "${state_dir}" @@ -1401,8 +1400,7 @@ CT_DoLoadState(){ exec >"${state_dir}/tail.log" fi - # Log this to the log level required by the user - CT_DoLog ${CT_LOG_LEVEL_MAX} "Restoring state at step '${state_name}', as requested." + CT_DoLog INFO "Restoring state at step '${state_name}', as requested." CT_DoExtractTarballIfExists "${state_dir}/prefix_dir" "${CT_PREFIX_DIR}" CT_DoExtractTarballIfExists "${state_dir}/config_dir" "${CT_CONFIG_DIR}" |