diff --git a/bash-5.1/r_variables/src/lib.rs b/bash-5.1/r_variables/src/lib.rs index 3023ddb385c43e9203aa1524161543a06a96efcc..53d9e401208f504bbf7d8ef4ff5e9556890c060c 100644 --- a/bash-5.1/r_variables/src/lib.rs +++ b/bash-5.1/r_variables/src/lib.rs @@ -98,6 +98,17 @@ pub unsafe extern "C" fn bind_variable( ); } } + + vc = (*vc).down; + } + + return bind_variable_internal( + name, + value, + (*global_variables).table, + 0 as libc::c_int, + flags, + ); } #[derive(Copy, Clone)]