From 8d7a63bbea5675809ea02d53766e0f5ad8313d84 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sun, 11 Dec 2016 13:10:33 +0100 Subject: [PATCH] Join up the final dots. --- parity/run.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parity/run.rs b/parity/run.rs index 26e88eb59..04085cd58 100644 --- a/parity/run.rs +++ b/parity/run.rs @@ -415,7 +415,7 @@ pub fn execute(cmd: RunCmd, can_restart: bool, logger: Arc) -> R } // Handle exit - wait_for_exit(panic_handler, http_server, ipc_server, dapps_server, signer_server, updater, can_restart); + let restart = wait_for_exit(panic_handler, http_server, ipc_server, dapps_server, signer_server, updater, can_restart); info!("Finishing work, please wait..."); @@ -428,7 +428,7 @@ pub fn execute(cmd: RunCmd, can_restart: bool, logger: Arc) -> R // terminated gracefully drop(hypervisor); - Ok(false) + Ok(restart) } #[cfg(not(windows))]