
v0.39: Grademe is back in your terminal.
Try the CLI betaRefuse the delete when the target path is empty or the bare filesystem root, so an unset variable cannot wipe everything.
January 2015. A Steam beta update ships an install script that runs rm -rf on "$STEAMROOT"/. Normally STEAMROOT points at your Steam folder. But when the variable comes back empty, that line quietly becomes rm -rf /, and a handful of Linux users watched Steam erase their whole home directory, mounted backup drives included. One missing check sat between a value and a delete. Put it back.
safe_rm_target("/home/steam")Expected result
1For your own tracking. Tests grade your code.
safe_rm_target("")Expected result
0safe_rm_target("/")Expected result
0Expected files
guard.cAllowed functions
None. Write every helper yourself.
