diff options
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/filesystem.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wsutil/filesystem.c b/wsutil/filesystem.c index ee41489894..aec82a6c2f 100644 --- a/wsutil/filesystem.c +++ b/wsutil/filesystem.c @@ -1464,8 +1464,10 @@ gboolean profile_exists(const gchar *profilename, gboolean global) { gchar *path = NULL, *global_path; - if (!profilename) + + if (!profilename && global) return FALSE; + if (global) { global_path = get_global_profiles_dir(); path = g_strdup_printf ("%s%s%s", global_path, |