summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r--generic/tclMain.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index 360f5e9..0bf2e8d 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -382,6 +382,12 @@ Tcl_MainEx(
*/
Tcl_Preserve(interp);
+
+ /*
+ * Check if this shell has an attached VFS
+ */
+ CONST char *cp=Tcl_GetNameOfExecutable();
+
if (appInitProc(interp) != TCL_OK) {
chan = Tcl_GetStdChannel(TCL_STDERR);
if (chan) {