alobbs / macchanger

GNU MAC Changer
http://www.gnu.org/software/macchanger
GNU General Public License v3.0
581 stars 112 forks source link

Option to force a different address, return ERROR if required change failed #12

Open nirgal opened 10 years ago

nirgal commented 10 years ago

Hello

Here are a couple of pacthes:

They are independant, you can take one or both if you like them.

Cheers

erjoalgo commented 7 years ago

It's not necessary to be paranoid to distrust macchanger's exit status, since it currently exits 0 (success) even if nothing at all was done due to wrong usage. So exit status doesn't have a clear meaning.

Also, that the mac did not change is no reason to exit as failure. For example, you might want to go back to the permanent mac, whether or not you're already there.