From d3ab2cd000a6b2894726c9c4414ca91d308ecac9 Mon Sep 17 00:00:00 2001 From: Rodrigo Balerdi Date: Sat, 6 Apr 2024 03:18:00 -0300 Subject: [PATCH] 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 --- package/base-files/files/lib/functions/system.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base-files/files/lib/functions/system.sh b/package/base-files/files/lib/functions/system.sh index c34bca33c..c734313f2 100644 --- a/package/base-files/files/lib/functions/system.sh +++ b/package/base-files/files/lib/functions/system.sh @@ -159,6 +159,7 @@ mmc_get_mac_ascii() { part=$(find_mmc_part "$part_name") if [ -z "$part" ]; then echo "mmc_get_mac_ascii: partition $part_name not found!" >&2 + return fi get_mac_ascii "$part" "$key"