mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-07 13:35:16 +08:00
upgrader: Typo fix
This commit is contained in:
parent
69d41de897
commit
639af3a1b3
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ def auto_upgrader(
|
|||
f'"{CURRENT_EXECUTABLE}" --version >> {log_file} 2>&1 & '
|
||||
f"IF %ERRORLEVEL% NEQ 0 ( "
|
||||
f'echo "New executable failed. Rolling back" >> {log_file} 2>&1 && '
|
||||
f"rd /S /Q "{CURRENT_DIR}" >> {log_file} 2>&1 && "
|
||||
f'rd /S /Q "{CURRENT_DIR}" >> {log_file} 2>&1 && '
|
||||
f'move /Y "{backup_dist}" "{CURRENT_DIR}" >> {log_file} 2>&1 '
|
||||
f") ELSE ( "
|
||||
f'echo "Upgrade successful" >> {log_file} 2>&1 && '
|
||||
|
|
Loading…
Add table
Reference in a new issue