diff --git a/pwgen.c b/pwgen.c index 3ae457a..0bc6705 100644 --- a/pwgen.c +++ b/pwgen.c @@ -138,7 +138,7 @@ int main(int argc, char **argv) break; case 's': pwgen = pw_rand; - pwgen_flags = PW_DIGITS | PW_UPPERS; + pwgen_flags |= PW_DIGITS | PW_UPPERS; break; case 'C': do_columns = 1;