diff options
| author | Tomas Bzatek <tbzatek@redhat.com> | 2024-01-19 19:03:20 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@redhat.com> | 2024-01-19 19:03:20 +0100 |
| commit | b665202fc06826ae3c239f3420f8052989c7568c (patch) | |
| tree | 580876490e5d5968990d4c858bcfff7caa208f04 /vfs | |
| parent | c39411fcedd2086c10511a2be8bf81ba6c3c568c (diff) | |
| download | tuxcmd-b665202fc06826ae3c239f3420f8052989c7568c.tar.xz | |
Set the TUXMCD_DEBUG env. var for VFS loggingv0.6.79
In case tuxcmd is started with the --debug switch, set
the TUXMCD_DEBUG env. var that is later picked up by modules.
Diffstat (limited to 'vfs')
| -rw-r--r-- | vfs/UVFSCore.pas | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vfs/UVFSCore.pas b/vfs/UVFSCore.pas index b39ad8e..e7d63a2 100644 --- a/vfs/UVFSCore.pas +++ b/vfs/UVFSCore.pas @@ -1121,6 +1121,8 @@ end; procedure DoInitPlugins; begin + if ParamDebug then + setenv('TUXCMD_DEBUG', '1', 1); PluginList := TList.Create; if not ParamDisablePlugins then begin BinaryPath := GetBinaryPath; |
