mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
Remove two unnecessary and useless sub-shell constructs.
This commit is contained in:
parent
9fc2ffa2b1
commit
b9b38f5d90
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169923
@ -48,7 +48,7 @@ case "${tmpmfs}" in
|
||||
[Nn][Oo])
|
||||
;;
|
||||
*)
|
||||
if (/bin/mkdir -p /tmp/.diskless 2> /dev/null); then
|
||||
if /bin/mkdir -p /tmp/.diskless 2> /dev/null; then
|
||||
rmdir /tmp/.diskless
|
||||
else
|
||||
if [ -h /tmp ]; then
|
||||
|
@ -60,7 +60,7 @@ case "${varmfs}" in
|
||||
[Nn][Oo])
|
||||
;;
|
||||
*)
|
||||
if (/bin/mkdir -p /var/.diskless 2> /dev/null); then
|
||||
if /bin/mkdir -p /var/.diskless 2> /dev/null; then
|
||||
rmdir /var/.diskless
|
||||
else
|
||||
mount_md ${varsize} /var "${varmfs_flags}"
|
||||
|
Loading…
Reference in New Issue
Block a user