mute .swu search when unmount SUB share
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
83ca140854
commit
705d2abac7
|
@ -58,7 +58,7 @@ mount_share () {
|
|||
fi
|
||||
|
||||
# Check if there is a software update file
|
||||
for file in $(ls /mnt/FunKey-*.swu); do
|
||||
for file in $(ls /mnt/FunKey-*.swu >/dev/null 2>&1); do
|
||||
swupdate -i "${file}"
|
||||
if [ $? -ne 0 ]; then
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue