summaryrefslogtreecommitdiff
path: root/execute_cmd.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-08 20:08:35 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-08 20:08:35 -0500
commitd0ca35030a65d56cc4b4191fec940ea26804ea82 (patch)
treec10ef0adff71a58fbaef2e9a680c9b66fec8c2e1 /execute_cmd.c
parent2d0c84ef11fdcd69ecc8040a0301803bfd8dda64 (diff)
downloadbash-d0ca35030a65d56cc4b4191fec940ea26804ea82.tar.gz
commit bash-20090423 snapshot
Diffstat (limited to 'execute_cmd.c')
-rw-r--r--execute_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/execute_cmd.c b/execute_cmd.c
index 09a382a6..204dd348 100644
--- a/execute_cmd.c
+++ b/execute_cmd.c
@@ -4372,7 +4372,7 @@ execute_disk_command (words, redirects, command_line, pipe_in, pipe_out,
#if defined (RESTRICTED_SHELL)
command = (char *)NULL;
- if (restricted && xstrchr (pathname, '/'))
+ if (restricted && mbschr (pathname, '/'))
{
internal_error (_("%s: restricted: cannot specify `/' in command names"),
pathname);