tSet verbosity to LOG_ERROR by default - synk - synchronize files between hosts
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 9aeb4bdc5ffb6c15f8ac96fadb3da1daa32e3c0e
(DIR) parent 5634711a7f8b6ef5b1d2d011697c21f3d4223b84
(HTM) Author: Willy <willyatmailoodotorg>
Date: Sat, 3 Sep 2016 23:45:18 +0200
Set verbosity to LOG_ERROR by default
Diffstat:
M synk.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/synk.c b/synk.c
t@@ -58,7 +58,7 @@ enum {
enum {
LOG_NONE = 0,
- LOG_INFO = 1,
+ LOG_ERROR = 1,
LOG_VERBOSE = 2,
LOG_DEBUG = 3,
};
t@@ -85,7 +85,7 @@ int spawnremote(struct peers_t *);
const char *rsync_cmd[] = { "rsync", "-azEq", "--delete", NULL };
const char *ssh_cmd[] = { "ssh", NULL };
-int verbose = LOG_NONE;
+int verbose = LOG_ERROR;
void
usage(char *name)