aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tshark.c b/tshark.c
index 42ecf77042..8559216608 100644
--- a/tshark.c
+++ b/tshark.c
@@ -721,6 +721,11 @@ main(int argc, char *argv[])
static const char optstring[] = OPTSTRING_INIT OPTSTRING_WIN32;
/*
+ * Get credential information for later use.
+ */
+ get_credential_info();
+
+ /*
* Attempt to get the pathname of the executable file.
*/
init_progfile_dir_error = init_progfile_dir(argv[0]);
@@ -730,11 +735,6 @@ main(int argc, char *argv[])
}
/*
- * Get credential information for later use.
- */
- get_credential_info();
-
- /*
* Now attempt to get the pathname of the plugins.
*/
init_plugin_dir();