by michaelt · 7y ago · 0 comments
[1] https://github.com/valvesoftware/steam-for-linux/issues/3671...
That prevents end-of-the-world scenario like the one above, if the script derails.
In the example above, the command would be `rm -rf /` without the variable present, and the shell would expand / to all the folders in /. So it's not a direct call to `rm -rf /`, you would need to handle the shell expansion of /* as well?
come to think of it, when would you ever want to rm -rf/? even in a chroot it doesn’t seem like a thing you’d want to do.