Fix OpenNebula save/restore

This commit is contained in:
Vitaliy Filippov
2024-09-04 11:05:56 +03:00
parent 9c2132882c
commit 8be67a2d5b
5 changed files with 22 additions and 5 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ set -e
reapply_patch() {
if ! patch -f --dry-run -l -R $1 < $2 >/dev/null; then
already_applied=0
if ! patch -l -f $1 < $2; then
if ! patch --no-backup-if-mismatch -r - -l -f $1 < $2; then
applied_ok=0
echo "ERROR: Failed to patch file $1, please apply the patch $2 manually"
fi