nand-sata-install: $n, ${n} -> "$n"
This commit is contained in:
parent
328737f9c9
commit
120e898ddd
@ -374,8 +374,8 @@ umount_device()
|
||||
device="$1";
|
||||
for n in ${device}*; do
|
||||
if [[ $device != "$n" ]]; then
|
||||
if mount|grep -q ${n}; then
|
||||
umount -l $n >/dev/null 2>&1
|
||||
if mount|grep -q "$n"; then
|
||||
umount -l "$n" >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
Loading…
Reference in New Issue
Block a user