From 4dac0e2dda628b509e7017cfc9503e8cede7d006 Mon Sep 17 00:00:00 2001 From: mwoz123 <4487025+mwoz123@users.noreply.github.com> Date: Mon, 6 Jan 2025 19:08:13 +0100 Subject: [PATCH] #365 fix compilation issue after refactor scripts --- src/Core/Main.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Main.vala b/src/Core/Main.vala index 37d3174..53eec92 100644 --- a/src/Core/Main.vala +++ b/src/Core/Main.vala @@ -1696,7 +1696,7 @@ public class Main : GLib.Object{ // Perform any post-backup actions log_debug("Running post-backup tasks..."); - string sh = "test -d \"/etc/timeshift/backup-hooks.d\" &&" + string sh = "test -d \"/etc/timeshift/backup-hooks.d\" &&" + " run-parts --verbose /etc/timeshift/backup-hooks.d"; exec_script_sync(sh, null, null, false, false, false, true); @@ -3045,7 +3045,7 @@ public class Main : GLib.Object{ // Perform any post-restore actions log_debug("Running post-restore tasks..."); - string sh = "test -d \"/etc/timeshift/restore-hooks.d\" &&" + string sh = "test -d \"/etc/timeshift/restore-hooks.d\" &&" + " run-parts --verbose /etc/timeshift/restore-hooks.d"; exec_script_sync(sh, null, null, false, false, false, true);