diff --git a/scripts/restore.sh b/scripts/restore.sh index 8123f5ca6..f5bdba5f9 100644 --- a/scripts/restore.sh +++ b/scripts/restore.sh @@ -28,8 +28,7 @@ restore_error_handler() { fi echo "Clean up the temporary directory." - rm -rf "$TMP_PATH" - rm -rf "$TMP_SAVE_PATH" + rm -rf "$TMP_PATH" "$TMP_SAVE_PATH" exit 1 }