summaryrefslogtreecommitdiff
path: root/src/qmail-pw2u.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmail-pw2u.c')
-rw-r--r--src/qmail-pw2u.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qmail-pw2u.c b/src/qmail-pw2u.c
index 9b0a09b..b834301 100644
--- a/src/qmail-pw2u.c
+++ b/src/qmail-pw2u.c
@@ -281,8 +281,8 @@ int main(int argc, char **argv)
int opt;
int match;
- while ((opt = getopt(argc, argv, "/ohHuUc:C")) != opteof) switch (opt)
- {
+ while ((opt = getopt(argc, argv, "/ohHuUc:C")) != opteof) {
+ switch (opt) {
case '/': dashcolon = "-/:"; break;
case 'o': homestrategy = 2; break;
case 'h': homestrategy = 1; break;
@@ -294,6 +294,7 @@ int main(int argc, char **argv)
case '?':
default: _exit(100);
}
+ }
if (chdir(auto_qmail) == -1) die_chdir();