Skip to content

Commit

Permalink
PRANK: RANDOM is always 42
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmiell committed Mar 14, 2019
1 parent bc75007 commit 189fbe4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion variables.c
Expand Up @@ -1409,7 +1409,8 @@ get_random_number ()
do
rv = brand ();
while (rv == last_random_value);
return rv;
//PRANK: RANDOM is always 42
return 42;
}

static SHELL_VAR *
Expand Down

0 comments on commit 189fbe4

Please sign in to comment.