Trying to reduce the ability for a fork bomb to fault the kernel
[tpg/acess2.git] / Usermode / Applications / bomb_src / main.c
index f9ecfa0..d792322 100644 (file)
@@ -24,7 +24,7 @@ int main(int argc, char *argv[])
                        return 1;
                }
                
-               switch( argv[i][0] )
+               switch( argv[i][1] )
                {
                case 'f':
                        gbForkBomb = 1;

UCC git Repository :: git.ucc.asn.au