Fix missing `break'.
[doldaconnect.git] / config / dolconf.c
index 663e235..72ee730 100644 (file)
@@ -731,10 +731,11 @@ int main(int argc, char **argv)
            break;
        case 'w':
            state = 0;
+           break;
        case 'h':
        default:
            fprintf((c == 'h')?stdout:stderr, "usage: dolconf [-haw]\n");
-           break;
+           exit((c == 'h')?0:1);
        }
     }