diff --git a/src/frontend/mosh-server.cc b/src/frontend/mosh-server.cc index 4aa6d5fab..e8a6cb70f 100644 --- a/src/frontend/mosh-server.cc +++ b/src/frontend/mosh-server.cc @@ -599,7 +599,9 @@ static int run_server( const char *desired_ip, const char *desired_port, Crypto::reenable_dumping_core(); if ( execvp( command_path.c_str(), command_argv ) < 0 ) { - err( 1, "execvp: %s", command_path.c_str() ); + warn( "execvp: %s", command_path.c_str() ); + sleep( 3 ); + exit( 1 ); } } else { /* parent */