aboutsummaryrefslogtreecommitdiffstats
path: root/plpnfsd
diff options
context:
space:
mode:
Diffstat (limited to 'plpnfsd')
-rw-r--r--plpnfsd/mp_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plpnfsd/mp_main.c b/plpnfsd/mp_main.c
index e6eb067..d9fcaf7 100644
--- a/plpnfsd/mp_main.c
+++ b/plpnfsd/mp_main.c
@@ -131,8 +131,9 @@ mp_main(int verbose, char *dir, char *user)
gettimeofday(&tv, &tz);
- printf("plpnfsd: version %s, mounting on %s\n", VERSION, dir);
debug = verbose;
+ if (debug)
+ printf("plpnfsd: version %s, mounting on %s\n", VERSION, dir);
/* Check if mountdir is empty (or else you can overmount e.g /etc)
It is done here, because exit hangs, if hardware flowcontrol is