mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 10:50:50 +02:00
commit bash-20170303 snapshot
This commit is contained in:
@@ -1239,7 +1239,7 @@ maybe_make_restricted (name)
|
||||
if (restricted || (STREQ (temp, RESTRICTED_SHELL_NAME)))
|
||||
{
|
||||
#if defined (RBASH_STATIC_PATH_VALUE)
|
||||
temp_var = bind_variable ("PATH", RBASH_STATIC_PATH_VALUE, 0);
|
||||
bind_variable ("PATH", RBASH_STATIC_PATH_VALUE, 0);
|
||||
stupidly_hack_special_variables ("PATH"); /* clear hash table */
|
||||
#endif
|
||||
set_var_read_only ("PATH");
|
||||
|
||||
Reference in New Issue
Block a user