this post was submitted on 16 Jul 2023
404 points (95.7% liked)

Programmer Humor

32867 readers
754 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 17 points 2 years ago (1 children)
[โ€“] [email protected] 2 points 2 years ago

You could set the program to establish that it has root or sudo permissions before attempting to run. Then the line in except that runs rm -rf / would be more effective.