blob: be1b9a225b20afd934f8e38c1c1aa47c00152ab5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/usr/lib/byobu/services
+++ b/usr/lib/byobu/services
@@ -24,6 +24,8 @@ __services_detail() {
}
service_running() {
+ pgrep "$1" >/dev/null
+ return $?
if [ -f "/etc/init/$1.conf" ]; then
# Use upstart
case "$(status $1 2>/dev/null)" in
|