Compare commits
2 Commits
master
...
openrc-0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f3813c8cf | ||
|
|
28c13790ff |
@@ -1,3 +1,3 @@
|
|||||||
NAME= openrc
|
NAME= openrc
|
||||||
VERSION= 0.10
|
VERSION= 0.10.1
|
||||||
PKG= ${NAME}-${VERSION}
|
PKG= ${NAME}-${VERSION}
|
||||||
|
|||||||
@@ -343,7 +343,7 @@ do_mark_service(int argc, char **argv)
|
|||||||
if (service == NULL || *service == '\0')
|
if (service == NULL || *service == '\0')
|
||||||
eerrorx("%s: no service specified", applet);
|
eerrorx("%s: no service specified", applet);
|
||||||
|
|
||||||
if (strncmp(applet, "mark_", 5) &&
|
if (!strncmp(applet, "mark_", 5) &&
|
||||||
(bit = lookup_service_state(applet + 5)))
|
(bit = lookup_service_state(applet + 5)))
|
||||||
ok = rc_service_mark(service, bit);
|
ok = rc_service_mark(service, bit);
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user