ssh_filter_btrbk: bugfix: use eval when running $SSH_ORIGINAL_COMMAND (does not faile with pipes)

pull/106/merge
Axel Burri 2016-08-21 11:51:55 +02:00
parent 13d27c8616
commit 8f7d3e3c3d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ reject_and_die()
run_cmd() run_cmd()
{ {
log_cmd "auth.info" "btrbk ACCEPT" log_cmd "auth.info" "btrbk ACCEPT"
$use_sudo $SSH_ORIGINAL_COMMAND eval " $use_sudo $SSH_ORIGINAL_COMMAND"
} }
reject_filtered_cmd() reject_filtered_cmd()