projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95054ca
)
base-files: minor fix to mmc_get_mac_ascii function
author
Rodrigo Balerdi
<lanchon@gmail.com>
Sat, 6 Apr 2024 06:18:00 +0000
(
03:18
-0300)
committer
RISCi_ATOM
<bob@bobcall.me>
Tue, 9 Jul 2024 16:17:11 +0000
(12:17 -0400)
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>
(cherry picked from commit
8cf4ac5195476356a14678ae72897e563881b15e
)
package/base-files/files/lib/functions/system.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/functions/system.sh
b/package/base-files/files/lib/functions/system.sh
index 107e67835a2b14006d60bc122b5f22457fb72724..23484c8ad916b449159dd51aaf4736fdf8f1989f 100644
(file)
--- a/
package/base-files/files/lib/functions/system.sh
+++ b/
package/base-files/files/lib/functions/system.sh
@@
-205,6
+205,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"