cisagov / ESXiArgs-Recover

A tool to recover from ESXiArgs ransomware
Creative Commons Zero v1.0 Universal
295 stars 41 forks source link

Use bash, exit on error of any command #2

Open epicfaace opened 1 year ago

epicfaace commented 1 year ago

Use bash, exit on error of any command (set -e)

cablej commented 1 year ago

Thanks! I am good to use bash. There may be cases where some command fails but the script is fine to continue executing - for instance if the encrypted nvram or vmsd file does not exist. Let me know if you think there are alternatives we should have in place - if not we can merge in the bash update.