X-Git-Url: https://git.tld-linux.org/?p=rc-scripts.git;a=blobdiff_plain;f=lib%2Ffunctions;h=6d68d96a22c6c6aa69cf751d28946617b73fba1e;hp=04e7f29332e7ee316b75de17381e6c655fb4fea5;hb=a50fdc3af84c5a9f83fd4593dc7cdc7efa3a68ef;hpb=7469b84d1e7ffde6f48bf19b999c005249df5dae diff --git a/lib/functions b/lib/functions index 04e7f29..6d68d96 100644 --- a/lib/functions +++ b/lib/functions @@ -577,7 +577,7 @@ run_cmd() { cd / export HOME=/tmp TMPDIR=/tmp if is_no "$RC_LOGGING"; then - ${user:+setuidgid -s $user} "$@" 2>&1 + ${user:+setuidgid -s $user} eval "$@" 2>&1 else ${user:+setuidgid -s $user} initlog -c "$*" 2>&1 fi