aboutsummaryrefslogtreecommitdiff
path: root/src/rc-update
diff options
context:
space:
mode:
authorZhao Yongming <ming.zym@gmail.com>2023-12-04 17:07:32 +1300
committerMike Frysinger <vapier@gmail.com>2023-12-04 10:53:23 -0500
commitbfdafe4463c4886b0d51dc1a426ed5345d5e0e04 (patch)
tree9a316611012ffd4d9f4c0319f058de0cda99015b /src/rc-update
parent179ff285ca8972b44513e98016351ffd32f10111 (diff)
change info words "remove" to "delete" in delete sub-command
This close #664
Diffstat (limited to 'src/rc-update')
-rw-r--r--src/rc-update/rc-update.c8
1 files changed, 4 insertions, 4 deletions
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;