Minor, cleanup old requirement for clients to set silent

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-07-02 12:41:23 +02:00
1 parent 51e1a907e6
commit 60df2f2ea9
2 files changed
-3

No files matched your search

-1
View File
@@ -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) {
-2
View File
@@ -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++];