mirror of
https://github.com/linuxmint/timeshift.git
synced 2024-08-16 20:10:39 +03:00
Fixed an issue with snapshot deletion
This commit is contained in:
parent
248642bd80
commit
0d776e5f05
@ -754,7 +754,7 @@ public class Main : GLib.Object{
|
||||
progress_text = _("Cleaning up...");
|
||||
log_msg(progress_text);
|
||||
|
||||
cmd = "rm -rfd \"%s\"".printf(sync_path);
|
||||
cmd = "rm -rf \"%s\"".printf(sync_path);
|
||||
|
||||
if (SHOW_COMMANDS) { log_msg(cmd, true); }
|
||||
|
||||
@ -1553,7 +1553,7 @@ public class Main : GLib.Object{
|
||||
try{
|
||||
var f = File.new_for_path(snapshot_to_delete.path);
|
||||
if(f.query_exists()){
|
||||
cmd = "rm -rfd \"%s\"".printf(snapshot_to_delete.path);
|
||||
cmd = "rm -rf \"%s\"".printf(snapshot_to_delete.path);
|
||||
|
||||
if (SHOW_COMMANDS) { log_msg(cmd, true); }
|
||||
|
||||
|
BIN
src/timeshift
BIN
src/timeshift
Binary file not shown.
Loading…
Reference in New Issue
Block a user