continue instead of terminating

This commit is contained in:
illiliti
2020-05-28 12:17:49 +03:00
parent 129ad17b36
commit 2d26ea0377

6
init
View File

@ -79,7 +79,7 @@ parse_cmdline()
--) init_args="${cmdline##*--}"; break ;; --) init_args="${cmdline##*--}"; break ;;
*=*) command export "$line" ;; *=*) command export "$line" ;;
*) command export "${line}=1" ;; *) command export "${line}=1" ;;
esac; done 2> /dev/null || : esac 2> /dev/null || continue; done
} }
setup_devmgr() setup_devmgr()
@ -158,9 +158,7 @@ trigger_lvm()
lvm lvchange $@ "$lvm_tag" lvm lvchange $@ "$lvm_tag"
else else
lvm vgchange $@ lvm vgchange $@
fi fi || panic "failed to trigger LVM"
[ "$?" = 0 ] || panic "failed to trigger LVM"
} }
mount_root() mount_root()