SHA256
3
0
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:
Ludwig Nussel 2011-01-25 08:50:17 +00:00 committed by Git OBS Bridge
parent f8e358e91e
commit 2ae2f59b87

View File

@ -141,8 +141,7 @@ fi
# #
# create mtab if it does not exist # create mtab if it does not exist
# #
if test ! -L /etc/mtab; then if test ! -e /etc/mtab; then
rm -f /etc/mtab
ln -sf /proc/self/mounts /etc/mtab ln -sf /proc/self/mounts /etc/mtab
fi fi
# #