* Add a hacky for-loop to fix the usage of the continue keyword. (NIXOS-85)
The continue keyword was previously used to mount the next device, but the loop in has been removed. (see r17919) svn path=/nixos/trunk/; revision=17973
This commit is contained in:
parent
f656741395
commit
c195493a32
@ -20,8 +20,8 @@ let
|
||||
while test -n "$newDevices"; do
|
||||
newDevices=
|
||||
|
||||
${flip concatMapStrings fileSystems
|
||||
(fs: ''
|
||||
${flip concatMapStrings fileSystems (fs: ''
|
||||
for theContinueKeyword in theFollowingCode; do
|
||||
mountPoint='${fs.mountPoint}'
|
||||
device='${if fs.device != null then fs.device else "/dev/disk/by-label/${fs.label}"}'
|
||||
fsType='${fs.fsType}'
|
||||
@ -97,8 +97,8 @@ let
|
||||
if ${mount}/bin/mount -t "$fsType" -o "$options" "$device" "$mountPoint"; then
|
||||
newDevices=1
|
||||
fi
|
||||
'')
|
||||
}
|
||||
done
|
||||
'')}
|
||||
done
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user