diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/fileop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/fileop.c b/apps/fileop.c index 65a3b37e0a..bcd5202cf4 100644 --- a/apps/fileop.c +++ b/apps/fileop.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <string.h> | 26 | #include <string.h> |
27 | #include "string-extra.h" | 27 | #include "string-extra.h" |
28 | #include "debug.h" | 28 | #include "debug.h" |
29 | #include "powermgmt.h" | ||
29 | 30 | ||
30 | #include "misc.h" | 31 | #include "misc.h" |
31 | #include "plugin.h" | 32 | #include "plugin.h" |
@@ -259,6 +260,7 @@ static int move_by_rename(struct file_op_params *src, | |||
259 | { | 260 | { |
260 | unsigned int flags = *pflags; | 261 | unsigned int flags = *pflags; |
261 | int rc = FORC_UNKNOWN_FAILURE; | 262 | int rc = FORC_UNKNOWN_FAILURE; |
263 | reset_poweroff_timer(); | ||
262 | if (!(flags & (PASTE_COPY | PASTE_EXDEV))) { | 264 | if (!(flags & (PASTE_COPY | PASTE_EXDEV))) { |
263 | if ((flags & PASTE_OVERWRITE) || !file_exists(dst_path)) { | 265 | if ((flags & PASTE_OVERWRITE) || !file_exists(dst_path)) { |
264 | /* Just try to move the directory / file */ | 266 | /* Just try to move the directory / file */ |