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

fix direction of action signal to send

parent fab34800
No related branches found
No related tags found
No related merge requests found
...@@ -120,7 +120,7 @@ int ssexec_signal(int argc, char const *const *argv, ssexec_t *info) ...@@ -120,7 +120,7 @@ int ssexec_signal(int argc, char const *const *argv, ssexec_t *info)
log_flow() ; log_flow() ;
int r ; int r ;
uint8_t what = 0, requiredby = 0, propagate = 1 ; uint8_t what = 1, requiredby = 0, propagate = 1 ;
graph_t graph = GRAPH_ZERO ; graph_t graph = GRAPH_ZERO ;
unsigned int napid = 0 ; unsigned int napid = 0 ;
...@@ -213,8 +213,8 @@ int ssexec_signal(int argc, char const *const *argv, ssexec_t *info) ...@@ -213,8 +213,8 @@ int ssexec_signal(int argc, char const *const *argv, ssexec_t *info)
if (argc < 1 || datalen < 2) if (argc < 1 || datalen < 2)
log_usage(info->usage, "\n", info->help) ; log_usage(info->usage, "\n", info->help) ;
if (data[1] != 'u') if (data[1] == 'u' || data[1] == 'U')
what = 1 ; what = 0 ;
if (data[1] == 'r') if (data[1] == 'r')
reloadmsg = 1 ; reloadmsg = 1 ;
......
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