mirror of https://github.com/digint/btrbk
ssh_filter_btrbk: bugfix: use eval when running $SSH_ORIGINAL_COMMAND (does not faile with pipes)
parent
13d27c8616
commit
8f7d3e3c3d
|
@ -41,7 +41,7 @@ reject_and_die()
|
|||
run_cmd()
|
||||
{
|
||||
log_cmd "auth.info" "btrbk ACCEPT"
|
||||
$use_sudo $SSH_ORIGINAL_COMMAND
|
||||
eval " $use_sudo $SSH_ORIGINAL_COMMAND"
|
||||
}
|
||||
|
||||
reject_filtered_cmd()
|
||||
|
|
Loading…
Reference in New Issue