From a45a3204a0b093d6899249b18808692e3f8ac863 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 8 Dec 2014 18:14:54 +0100 Subject: replace all goto pfail with fail_if, so that we can take whence it failed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-respawn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mds-respawn.c') diff --git a/src/mds-respawn.c b/src/mds-respawn.c index bcbb7fe..3e3406a 100644 --- a/src/mds-respawn.c +++ b/src/mds-respawn.c @@ -292,8 +292,7 @@ int postinitialise_server(void) if (commands_args[i] == NULL) j++; else if (strequals(commands_args[i], "--initial-spawn")) - if ((commands_args[i] = strdup("--respawn")) == NULL) - goto pfail; + fail_if ((commands_args[i] = strdup("--respawn")) == NULL); /* Respawn dead and dead and buried servers.*/ -- cgit v1.2.3-70-g09d2