#!/bin/bash

## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

#set -x
set -e

#safe-rm -f /tmp/systemcheck-debug.txt
#exec 5>&1 1>> /tmp/systemcheck-debug.txt
#exec 6>&2 2>> /tmp/systemcheck-debug.txt

if [ -o xtrace ]; then
   bash -x /usr/libexec/systemcheck/systemcheck "$@"
else
   /usr/libexec/systemcheck/systemcheck "$@"
fi
