mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
ddfbd74607
This currently fails exactly when it is needed: when there is a dangling link pointing into an unmounted filesystem. This happens because [ -e <dangling-link> ] returns false. The solution is simply to remove that check. Now the first condition in the "if" statement catches the backward compatibility case where $GANRECDIR used to be a directory. It will also catch other problems, such as if a file has been created in this location. If nothing exists then it will silently succeed (due to -f). The second case catches a symlink pointing to the wrong place (e.g. in an unmounted filesystem). Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> |
||
---|---|---|
.. | ||
examples | ||
cluster_mutex_helper.txt | ||
ctdb-statistics.7.xml | ||
ctdb-tunables.7.xml | ||
ctdb.1.xml | ||
ctdb.7.xml | ||
ctdbd_wrapper.1.xml | ||
ctdbd.1.xml | ||
ctdbd.conf.5.xml | ||
ltdbtool.1.xml | ||
Makefile | ||
onnode.1.xml | ||
ping_pong.1.xml | ||
readonlyrecords.txt | ||
recovery-process.txt |