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:
@@ -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
|
||||
#
|
||||
|
Reference in New Issue
Block a user