diff options
Diffstat (limited to 'core/modules/slxlog/data/opt/openslx/bin')
-rwxr-xr-x | core/modules/slxlog/data/opt/openslx/bin/slxlog | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/modules/slxlog/data/opt/openslx/bin/slxlog b/core/modules/slxlog/data/opt/openslx/bin/slxlog index fae6f5c8..41504a74 100755 --- a/core/modules/slxlog/data/opt/openslx/bin/slxlog +++ b/core/modules/slxlog/data/opt/openslx/bin/slxlog @@ -76,7 +76,8 @@ if [ $# -gt 2 ]; then EXTRA="$3" fi -if [ -n "$SLX_DEBUG" ]; then +. /opt/openslx/bin/slx-tools +if is_debug; then CURLLOG="/tmp/slxlog.$USER" else CURLLOG="/dev/null" |