kernel-module-qualcomm: fix printing of error message
Error message was being printed upon successful copy of the MAC addresses file, instead of upon failure. Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
0152a70773
commit
c586b05bd2
|
|
@ -53,9 +53,7 @@ if ! cmp -s ${TMP_MACFILE} ${MACFILE}; then
|
|||
mount -o remount,rw ${mount_point}
|
||||
fi
|
||||
|
||||
if cp ${TMP_MACFILE} ${MACFILE}; then
|
||||
log "3" "[ERROR] Could not create ${MACFILE}"
|
||||
fi
|
||||
cp ${TMP_MACFILE} ${MACFILE} || log "3" "[ERROR] Could not create ${MACFILE}"
|
||||
fi
|
||||
rm -f "${TMP_MACFILE}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue