summaryrefslogtreecommitdiff
path: root/warnquota.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2002-02-25 11:26:16 +0000
committerjkar8572 <jkar8572>2002-02-25 11:26:16 +0000
commit5d3392cbdbb422993125b5aa8a8de402fcbc4b04 (patch)
tree3ed3d0cbab3b3868003d8c8ba68ff7c4be7bbcd3 /warnquota.c
parent207d40e53c0ca06bf484b8975ba95f83656ad086 (diff)
Fixed bug in warnquota option parsing (Michael Meskes)
Quota-tools now ignore automount mountpoints (Phillippe Troin)
Diffstat (limited to 'warnquota.c')
-rw-r--r--warnquota.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/warnquota.c b/warnquota.c
index 43e47a1..530889d 100644
--- a/warnquota.c
+++ b/warnquota.c
@@ -10,7 +10,7 @@
*
* Author: Marco van Wieringen <mvw@planets.elm.net>
*
- * Version: $Id: warnquota.c,v 1.8 2002/02/22 14:58:32 jkar8572 Exp $
+ * Version: $Id: warnquota.c,v 1.9 2002/02/25 11:26:16 jkar8572 Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -468,7 +468,7 @@ static void parse_options(int argcnt, char **argstr)
{
int ret;
- while ((ret = getopt(argcnt, argstr, "VF:hc:q:"))) {
+ while ((ret = getopt(argcnt, argstr, "VF:hc:q:")) != -1) {
switch (ret) {
case '?':
case 'h':