mirror of
https://github.com/troglobit/finit.git
synced 2026-11-06 15:51:03 +00:00
Minor, cleanup old requirement for clients to set silent
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
51e1a907e6
commit
60df2f2ea9
2 files changed
-3
No files matched your search
@@ -123,7 +123,6 @@ int client(int argc, char *argv[])
|
|||||||
{NULL, 0, NULL, 0}
|
{NULL, 0, NULL, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
silent = 1;
|
|
||||||
progname(argv[0]);
|
progname(argv[0]);
|
||||||
while ((c = getopt_long(argc, argv, "h?v", long_options, NULL)) != EOF) {
|
while ((c = getopt_long(argc, argv, "h?v", long_options, NULL)) != EOF) {
|
||||||
switch(c) {
|
switch(c) {
|
||||||
|
|||||||
@@ -52,7 +52,6 @@ typedef struct {
|
|||||||
|
|
||||||
int debug = 0;
|
int debug = 0;
|
||||||
int verbose = 0;
|
int verbose = 0;
|
||||||
int silent = 1; /* For helpers.c */
|
|
||||||
int runlevel = 0;
|
int runlevel = 0;
|
||||||
|
|
||||||
|
|
||||||
@@ -672,7 +671,6 @@ int main(int argc, char *argv[])
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
silent = !verbose;
|
|
||||||
|
|
||||||
if (optind < argc) {
|
if (optind < argc) {
|
||||||
char *cmd = argv[optind++];
|
char *cmd = argv[optind++];
|
||||||
|
|||||||
Reference in new issue
Block a user