Skip to content
Snippets Groups Projects
Commit 8bb5ac07 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

improve log messages

parent cc557b0c
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ int ssexec_start(int argc, char const *const *argv, ssexec_t *info) ...@@ -135,7 +135,7 @@ int ssexec_start(int argc, char const *const *argv, ssexec_t *info)
sig[2] = 0 ; sig[2] = 0 ;
if (!svc_send(argv, argc, sig, siglen, info)) if (!svc_send(argv, argc, sig, siglen, info))
log_dieu(LOG_EXIT_SYS, "send -wU -ru signal") ; log_dieu(LOG_EXIT_SYS, "send -wU -ru signal to services selection") ;
} else if (FLAGS_ISSET(flag, STATE_FLAGS_TORESTART)) { } else if (FLAGS_ISSET(flag, STATE_FLAGS_TORESTART)) {
...@@ -144,14 +144,14 @@ int ssexec_start(int argc, char const *const *argv, ssexec_t *info) ...@@ -144,14 +144,14 @@ int ssexec_start(int argc, char const *const *argv, ssexec_t *info)
sig[2] = 0 ; sig[2] = 0 ;
if (!svc_send(argv, argc, sig, siglen, info)) if (!svc_send(argv, argc, sig, siglen, info))
log_dieu(LOG_EXIT_SYS, "send -wD -d signal") ; log_dieu(LOG_EXIT_SYS, "send -wD -d signal to services selection") ;
sig[0] = "-wU" ; sig[0] = "-wU" ;
sig[1] = "-ru" ; sig[1] = "-ru" ;
sig[2] = 0 ; sig[2] = 0 ;
if (!svc_send(argv, argc, sig, siglen, info)) if (!svc_send(argv, argc, sig, siglen, info))
log_dieu(LOG_EXIT_SYS, "send -wU -u signal") ; log_dieu(LOG_EXIT_SYS, "send -wU -u signal to services selection") ;
} else { } else {
...@@ -160,7 +160,7 @@ int ssexec_start(int argc, char const *const *argv, ssexec_t *info) ...@@ -160,7 +160,7 @@ int ssexec_start(int argc, char const *const *argv, ssexec_t *info)
sig[2] = 0 ; sig[2] = 0 ;
if (!svc_send(argv, argc, sig, siglen, info)) if (!svc_send(argv, argc, sig, siglen, info))
log_dieu(LOG_EXIT_SYS, "send -wU -u signal") ; log_dieu(LOG_EXIT_SYS, "send -wU -u signal to services selection") ;
} }
return 0 ; return 0 ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment