forked from pool/aaa_base
only make mtab a symlink if it didn't exist before
OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=196
This commit is contained in:
parent
f8e358e91e
commit
2ae2f59b87
@ -141,8 +141,7 @@ fi
|
||||
#
|
||||
# create mtab if it does not exist
|
||||
#
|
||||
if test ! -L /etc/mtab; then
|
||||
rm -f /etc/mtab
|
||||
if test ! -e /etc/mtab; then
|
||||
ln -sf /proc/self/mounts /etc/mtab
|
||||
fi
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user