diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-03 13:39:12 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-03 13:39:12 -0500 |
commit | d11b8b46f070695ffdc25a9a49f0b2dacd948273 (patch) | |
tree | d42172c682149b5862bd988d407471bb5a6d6218 /shell.c~ | |
parent | 177d51f71e27dc2d215a5a1c6fc0c0bc2c3bb903 (diff) | |
download | bash-d11b8b46f070695ffdc25a9a49f0b2dacd948273.tar.gz |
commit bash-20041104 snapshot
Diffstat (limited to 'shell.c~')
-rw-r--r-- | shell.c~ | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1089,6 +1089,8 @@ shell_is_restricted (name) if (restricted) return 1; temp = base_pathname (name); + if (*temp == '-') + temp++; return (STREQ (temp, RESTRICTED_SHELL_NAME)); } |