aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Kellermann2018-09-27 11:53:46 -0400
committerAntony Kellermann2018-09-27 11:53:46 -0400
commitab918668eee50f8f0459ee6476f03d50d72d4fb3 (patch)
tree12ddac1d91a5db6d13d969238cc3ec29c523aff4
parentb993c86812d9ea718354d49713f870f06c015181 (diff)
downloadaur-ab918668eee50f8f0459ee6476f03d50d72d4fb3.tar.gz
Removed dialog on file not existing
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 7618fcab13a1..4294714c2855 100644
--- a/utils.c
+++ b/utils.c
@@ -47,7 +47,7 @@ char* strip_tags(char* string) {
String* file_get_string(const char* file_name) {
struct stat file_info;
if (stat(file_name, &file_info)) // If called from portfolio_modify_string, file should exist (possibly size 0)
- RETNULL_MSG("File doesn't exist.");
+ return NULL;
if (file_info.st_size == 0) // Return new String if new file
return string_init();