summaryrefslogtreecommitdiff
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index 45cf6a80fb..e10f2e3f7b 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -915,7 +915,11 @@ int main(int argc, char *qt_argv[])
g_free(get_persconffile_path("io_graphs", TRUE));
profile_store_persconffiles(FALSE);
- profile_write_info_file();
+ if (!profile_write_info_file(&rf_path)) {
+ simple_dialog(ESD_TYPE_WARN, ESD_BTN_OK,
+ "Could not create file\n\"%s\"", rf_path);
+ g_free (rf_path);
+ }
ret_val = wsApp->exec();