Comment by QuadmasterXLII
Comment by QuadmasterXLII 3 days ago
This doesn't seem conceptually different from running
[ $[ $RANDOM % 6] = 0 ] && rm -rf / || echo "Click"
on your employer's production server, and the liability doesn't seem murky in either case
What if you wrote something more like:
and then due to a misconfiguration "$WORK_DIR" was truncated to be just "/"?At what point is it negligent?