append maxdpeth to finding symlink
This commit is contained in:
@@ -313,7 +313,7 @@ function InstallXO {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# fix to prevent older installations to not update because systemd service is not symlinked anymore
|
# fix to prevent older installations to not update because systemd service is not symlinked anymore
|
||||||
if [[ $(find /etc/systemd/system -type l -name "xo-server.service") ]]; then
|
if [[ $(find /etc/systemd/system -maxdepth 1 -type l -name "xo-server.service") ]]; then
|
||||||
rm -f /etc/systemd/system/xo-server.service
|
rm -f /etc/systemd/system/xo-server.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user