Merge pull request #918 from opensourcerouting/vtysh-miss-newline

vtysh: add missing \n on warning message
This commit is contained in:
Donald Sharp 2017-08-07 08:39:08 -04:00 committed by GitHub
commit a1ea626ef9

View File

@ -235,7 +235,7 @@ static int vtysh_client_run_all(struct vtysh_client *head_client,
}
if (wrong_instance && !correct_instance && fp) {
fprintf(fp,
"%% [%s]: command ignored as it targets an instance that is not running",
"%% [%s]: command ignored as it targets an instance that is not running\n",
head_client->name);
rc_all = CMD_WARNING_CONFIG_FAILED;
}