parse-root-opts: first check for ro, later for rw

This order is already in 98usrmount.
master
Amadeusz Żołnowski 2012-07-26 15:58:27 +02:00 committed by Harald Hoyer
parent 96c6fa9202
commit aa505d588f
1 changed files with 1 additions and 1 deletions

View File

@ -5,8 +5,8 @@
root=$(getarg root=)

rflags="$(getarg rootflags=)"
getargbool 0 rw && rflags="${rflags},rw"
getargbool 0 ro && rflags="${rflags},ro"
getargbool 0 rw && rflags="${rflags},rw"
rflags="${rflags#,}"

fstype="$(getarg rootfstype=)"