hellais / TAILS-OSX

Contains instructions and scripts to create a TAILS live cd that will boot on OSX without any additional software installed (no REFIT, etc.)
151 stars 45 forks source link

Comment `set -x` #63

Closed Grezzo closed 9 years ago

Grezzo commented 9 years ago

Turn off command used for debugging

Grezzo commented 9 years ago

I'm clicking wrong buttons everywhere... sorry

Just commenting to reopen pull request after mistakenly closing it

hellais commented 9 years ago

Why do you want to comment -x out?

I think it's useful to debug issues users may have, having this on by default.

If we choose to indeed comment it out, I think every command should be wrapped in a function that prints what it's running and logs to stdout.

Grezzo commented 9 years ago

I just thought that it made the output "prettier" and it was easy enough to uncomment if a user has issues.

I understand that it make it easier debug any issues without having to run it again with that line uncommented, so I'll close the pull request