Commit 1b46b5b1 authored by Tails developers's avatar Tails developers

Do not exit upon macchanger error.

If we do this, the panic mode code will never be executed, so we will
in fact potentially let the device leak the real MAC address on the
network.
parent 1e185ba3
......@@ -68,7 +68,7 @@ spoof_mac() {
local msg
if ! msg=$(macchanger -e "${1}" 2>&1); then
log "macchanger failed for NIC ${1}, returned ${?} and said: ${msg}"
exit 1
return 1
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment