summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2015-10-20 22:09:58 -0700
committervivek <vivek@cumulusnetworks.com>2015-10-20 22:09:58 -0700
commit0905eabe10e87893924ba33564e9f9fdf3e4bdca (patch)
tree84ba3849d8042eded58ba39dcfd39bdecfaad55c /zebra/kernel_socket.c
parent085567f9553966f0042cd2f7cda0551a84f63b2f (diff)
Quagga: Display useful info when doing service quagga status
Ticket: CM-7132 Reviewed By: CCR-3461 Testing Done: the usual Today, 'service quagga status' merely sets the return code and nothing more. Like other services, it'd be good to print some useful output as well. Example output: cumulus@top1$ sudo service quagga status ospfd [ ok ] ospfd-1 is running. [ ok ] ospfd-2 is running. cumulus@top1$ sudo service quagga status [ ok ] zebra is running. [ ok ] ospfd-1 is running. [ ok ] ospfd-2 is running. [ ok ] ospf6d is running. cumulus@top1$ sudo service quagga status [ ok ] zebra is running. [ ok ] ospfd-1 is running. [FAIL] ospfd-2 is not running ... failed! [ ok ] ospf6d is running. cumulus@top1$ echo $? 1 cumulus@top1$ Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions