summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authormongo <andmarti@gmail.com>2017-05-10 13:36:23 -0300
committermongo <andmarti@gmail.com>2017-05-10 13:36:23 -0300
commit18d8388f84df7acf7b133bb0035432276ce4b2dd (patch)
tree04fc958221af7e8266db4852310b083b8264a9a2 /src/main.c
parentb9ca2a55d4ad7e3c8cf015ead845d52b62e65319 (diff)
Updated readme
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 46477e7..a61e2b1 100755
--- a/src/main.c
+++ b/src/main.c
@@ -384,7 +384,7 @@ int exit_app(int status) {
// remove backup file
#ifdef AUTOBACKUP
- remove_backup(curfile);
+ if (strlen(curfile) && backup_exists(curfile)) remove_backup(curfile);
#endif
// erase structures