From a8fbcfcef71515ac5ad73b495992606462ba9815 Mon Sep 17 00:00:00 2001 From: heavybullets8 Date: Mon, 26 Dec 2022 14:47:33 -0700 Subject: [PATCH] remove directory argument --- functions/misc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/misc.sh b/functions/misc.sh index 7025d0b9..408fcd58 100644 --- a/functions/misc.sh +++ b/functions/misc.sh @@ -191,7 +191,7 @@ echo # Apply patch echo "Applying Backup Patch" -if patch -N --reject-file=/dev/null -s -p0 -d /usr/lib/python3/dist-packages/middlewared/plugins/kubernetes_linux/backup.py < patches/backups.patch &>/dev/null; then +if patch -N --reject-file=/dev/null -s -p0 /usr/lib/python3/dist-packages/middlewared/plugins/kubernetes_linux/backup.py < patches/backups.patch &>/dev/null; then echo "Backup Patch applied" else echo "Backup Patch already applied"