Added restart_pp function

This commit is contained in:
2024-09-13 15:17:58 +05:00
parent 07b3406d0d
commit 4d8841fc83
3 changed files with 75 additions and 104 deletions

View File

@ -663,9 +663,8 @@ if [[ -f "${portwine_exe}" ]] ; then
unset PW_YAD_FORM_TAB
fi
unset PW_NO_RESTART_PPDB PW_DISABLED_CREATE_DB KEY_START portwine_exe
/usr/bin/env bash -c ${pw_full_command_line[*]} &
print_info "Restarting..."
exit 0
restart_pp
;;
1|252)
exit 0