Nc desktop client: no output for stopping service

This commit is contained in:
Daniel Pätzold
2026-04-22 21:46:51 +02:00
parent 30bad95316
commit cefb820ac2
@@ -28,7 +28,7 @@ if [[ ! -z ${NC_PID} ]]; then
echo "Stopping Nextcloud with PID ${NC_PID}" echo "Stopping Nextcloud with PID ${NC_PID}"
# Kill does not remove lockfiles in ~/.var/app/com.nextcloud.desktopclient.nextcloud/cache/tmp/ which will prevent next start # Kill does not remove lockfiles in ~/.var/app/com.nextcloud.desktopclient.nextcloud/cache/tmp/ which will prevent next start
# kill ${NC_PID} && sleep 2 # kill ${NC_PID} && sleep 2
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=nextcloud com.nextcloud.desktopclient.nextcloud --quit && sleep 2 /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=nextcloud com.nextcloud.desktopclient.nextcloud --quit >/dev/null && sleep 2
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo "Service could not be stopped, please check why." echo "Service could not be stopped, please check why."
exit 1 exit 1