mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-17 10:53:30 +00:00
base-files: minor fix to mmc_mac_ascii function
This is mostly a cosmetic cleanup. The absence of the return statement was not causing any problems. Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
This commit is contained in:
parent
f788f35b36
commit
d3ab2cd000
@ -159,6 +159,7 @@ mmc_get_mac_ascii() {
|
|||||||
part=$(find_mmc_part "$part_name")
|
part=$(find_mmc_part "$part_name")
|
||||||
if [ -z "$part" ]; then
|
if [ -z "$part" ]; then
|
||||||
echo "mmc_get_mac_ascii: partition $part_name not found!" >&2
|
echo "mmc_get_mac_ascii: partition $part_name not found!" >&2
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
get_mac_ascii "$part" "$key"
|
get_mac_ascii "$part" "$key"
|
||||||
|
Loading…
Reference in New Issue
Block a user