diff --git a/setup/so-setup b/setup/so-setup index d0efafc07..5109365da 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -63,7 +63,7 @@ if [[ -f /root/accept_changes ]]; then # Move last setup log to backup mv "$setup_log" "$setup_log.bak" - mv "$error_log" "$error_log.bak" + [ -f "$error_log" ] && mv "$error_log" "$error_log.bak" fi