mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
initctl: fix cut-and-paste error in new 'show' command
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
cf3d3f6f8e
commit
1434561a46
1 file changed
+1
-1
+1
-1
@@ -260,7 +260,7 @@ int serv_show(char *arg)
|
|||||||
char path[256];
|
char path[256];
|
||||||
char *fn;
|
char *fn;
|
||||||
|
|
||||||
fn = conf(path, sizeof(path), arg, creat);
|
fn = conf(path, sizeof(path), arg, 0);
|
||||||
if (!fexist(fn)) {
|
if (!fexist(fn)) {
|
||||||
warnx("Cannot find %s", arg);
|
warnx("Cannot find %s", arg);
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Reference in new issue
Block a user