add debug

This commit is contained in:
Jakobus Schürz 2022-12-24 06:12:55 +01:00
parent 3e7e995815
commit cd6460a5e4

View file

@ -50,6 +50,12 @@ function cpb() {
function sudo() { function sudo() {
local SUDO local SUDO
local BASH local BASH
if $SSHS ; then
logwarning "TEMPCONFIG"
fi
# SUDO=$( if [ -e /bin/sudo ]; then echo /bin/sudo; else echo /usr/bin/sudo; fi ) # SUDO=$( if [ -e /bin/sudo ]; then echo /bin/sudo; else echo /usr/bin/sudo; fi )
SUDO=$(which sudo) SUDO=$(which sudo)