fix: plugin install should suppress output from unraid-api stop (#757)

This commit is contained in:
ljm42
2024-01-03 10:10:37 -07:00
committed by GitHub
parent 64b6bee559
commit 3e95bb259f
+1 -1
View File
@@ -301,7 +301,7 @@ if [ -e /etc/rc.d/rc.unraid-api ]; then
# stop flash backup
/etc/rc.d/rc.flash_backup stop &>/dev/null
# stop the api gracefully
/etc/rc.d/rc.unraid-api stop
/etc/rc.d/rc.unraid-api stop &>/dev/null
# forcibly stop older clients
kill -9 `pidof unraid-api` &>/dev/null
# uninstall the api