Skip to main content

offer_go_back

Function offer_go_back 

Source
pub fn offer_go_back(
    own_version: &str,
    own_dir: &Path,
    data_dir: &Path,
    why: &str,
) -> bool
Expand description

The new version could not be kept running (why finishes “AgentMux X ___”): offer to go back to the version the last upgrade replaced. true once the helper has accepted and is waiting for this launcher to exit: the caller exits, and the waiter starts the old version. Only for a .deb/.rpm install, one upgrade from the app ago (the helper’s record), and the user’s yes.