diff options
Diffstat (limited to 'src/instance/s6-instance-control.c')
-rw-r--r-- | src/instance/s6-instance-control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instance/s6-instance-control.c b/src/instance/s6-instance-control.c index 899ab89..badb8b2 100644 --- a/src/instance/s6-instance-control.c +++ b/src/instance/s6-instance-control.c @@ -62,7 +62,7 @@ int main (int argc, char const **argv) if (argc < 2) dieusage() ; namelen = strlen(argv[1]) ; if (!argv[0][0]) strerr_dief1x(100, "invalid service name") ; - if (!argv[1][0] || argv[1][0] == '.' || byte_in(argv[1], namelen, " \t\f\r\n", 5) < 5) + if (!argv[1][0] || argv[1][0] == '.' || byte_in(argv[1], namelen, " \t\f\r\n", 5) < namelen) strerr_dief1x(100, "invalid instance name") ; { |