when doing `status', return non-zero if the program isn't running.
request by thorpej.
This commit is contained in:
parent
9046e7c099
commit
fa16fd6f70
@ -1,4 +1,4 @@
|
||||
# $NetBSD: rc.subr,v 1.27 2000/11/05 23:48:14 lukem Exp $
|
||||
# $NetBSD: rc.subr,v 1.28 2000/11/06 00:08:30 lukem Exp $
|
||||
#
|
||||
# Copyright (c) 1997-2000 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
@ -342,6 +342,7 @@ run_rc_command()
|
||||
echo "${name} is running as pid $_pid."
|
||||
else
|
||||
echo "${name} is not running."
|
||||
return 1
|
||||
fi
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user