aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-01-21 04:33:33 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-01-21 04:33:33 +0000
commit3c61b2916c56bfa8d3ce7a6a5480eb93c2ed1470 (patch)
treeae966cacd6044b9448d56b9a7a9c0fef7de1dcd7
parentd942d3f013d8edfb77360bcd9d90f0dff88c6ec3 (diff)
downloads6-rc-3c61b2916c56bfa8d3ce7a6a5480eb93c2ed1470.tar.gz
s6-rc -X is now s6-rc --no-lock (not public)
-rw-r--r--src/s6-rc/s6-rc-update.c4
-rw-r--r--src/s6-rc/s6-rc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/s6-rc/s6-rc-update.c b/src/s6-rc/s6-rc-update.c
index bec6bc5..82f2a6e 100644
--- a/src/s6-rc/s6-rc-update.c
+++ b/src/s6-rc/s6-rc-update.c
@@ -735,7 +735,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
newargv[m++] = tfmt ;
newargv[m++] = "-l" ;
newargv[m++] = live ;
- if (!dryrun) newargv[m++] = "-X" ;
+ if (!dryrun) newargv[m++] = "--no-lock" ;
newargv[m++] = "-d" ;
newargv[m++] = "--" ;
newargv[m++] = "change" ;
@@ -819,7 +819,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
newargv[m++] = tfmt ;
newargv[m++] = "-l" ;
newargv[m++] = live ;
- if (!dryrun) newargv[m++] = "-X" ;
+ if (!dryrun) newargv[m++] = "--no-lock" ;
newargv[m++] = "-u" ;
newargv[m++] = "--" ;
newargv[m++] = "change" ;
diff --git a/src/s6-rc/s6-rc.c b/src/s6-rc/s6-rc.c
index f48227f..74d48c5 100644
--- a/src/s6-rc/s6-rc.c
+++ b/src/s6-rc/s6-rc.c
@@ -498,7 +498,7 @@ int main (int argc, char const *const *argv)
{ .so = 'b', .lo = "block", .clear = 0, .set = GOLB_BLOCK },
{ .so = 'E', .lo = "with-essentials", .clear = GOLB_HIDEESSENTIALS, .set = 0 },
{ .so = 'e', .lo = "without-essentials", .clear = 0, .set = GOLB_HIDEESSENTIALS },
- { .so = 'X', .lo = "no-lock", .clear = 0, .set = GOLB_NOLOCK },
+ { .so = 0, .lo = "no-lock", .clear = 0, .set = GOLB_NOLOCK },
} ;
static gol_arg const rgola[] =
{