Avoids a small amount of code duplication. --- src/haproxy.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/haproxy.c b/src/haproxy.c
index 42d055c..fa740ff 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -296,11 +296,8 @@ void sig_restart(struct sig_handler *sh)
{
if (!is_master)
return;
-
restarting = 1;
- soft_stop();
- signal_unregister_handler(sh);
- pool_gc2();
+ sig_soft_stop(sh);
}
/*
--
1.7.2.3

