From bfdafe4463c4886b0d51dc1a426ed5345d5e0e04 Mon Sep 17 00:00:00 2001 From: Zhao Yongming Date: Mon, 4 Dec 2023 17:07:32 +1300 Subject: change info words "remove" to "delete" in delete sub-command This close #664 --- src/rc-update/rc-update.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/rc-update/rc-update.c b/src/rc-update/rc-update.c index 64d781a5..d364241f 100644 --- a/src/rc-update/rc-update.c +++ b/src/rc-update/rc-update.c @@ -88,7 +88,7 @@ delete(const char *runlevel, const char *service) errno = 0; if (rc_service_delete(runlevel, service)) { - einfo("service %s removed from runlevel %s", + einfo("service %s deleted from runlevel %s", service, runlevel); return 1; } @@ -97,7 +97,7 @@ delete(const char *runlevel, const char *service) eerror("%s: service `%s' is not in the runlevel `%s'", applet, service, runlevel); else - eerror("%s: failed to remove service `%s' from runlevel `%s': %s", + eerror("%s: failed to delete service `%s' from runlevel `%s': %s", applet, service, runlevel, strerror (errno)); return retval; @@ -144,7 +144,7 @@ static int delstack(const char *runlevel, const char *stack) { if (rc_runlevel_unstack(runlevel, stack)) { - einfo("runlevel %s removed from runlevel %s", stack, runlevel); + einfo("runlevel %s deleted from runlevel %s", stack, runlevel); return 1; } @@ -152,7 +152,7 @@ delstack(const char *runlevel, const char *stack) eerror("%s: runlevel `%s' is not in the runlevel `%s'", applet, stack, runlevel); else - eerror("%s: failed to remove runlevel `%s' from runlevel `%s': %s", + eerror("%s: failed to delete runlevel `%s' from runlevel `%s': %s", applet, stack, runlevel, strerror (errno)); return -1; -- cgit v1.2.3