Commit 0126169e authored by Monty's avatar Monty

Added error message to --die in mtr

parent 478ec775
......@@ -9748,7 +9748,8 @@ int main(int argc, char **argv)
break;
case Q_DIE:
/* Abort test with error code and error message */
die("%s", command->first_argument);
die("%s", command->first_argument[0] ? command->first_argument :
"Explicit --die command executed");
break;
case Q_EXIT:
/* Stop processing any more commands */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment