Skip to content

Commit

Permalink
linuxmint#365 fix compilation issue after refactor scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mwoz123 committed Jan 6, 2025
1 parent af58af3 commit 4dac0e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/Main.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4dac0e2

Please sign in to comment.