diff options
Diffstat (limited to 'bin/rm')
-rw-r--r-- | bin/rm/rm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/rm/rm.c b/bin/rm/rm.c index 9c3f839..c313282 100644 --- a/bin/rm/rm.c +++ b/bin/rm/rm.c @@ -141,7 +141,8 @@ main(int argc, char *argv[]) } checkdot(argv); - checkslash(argv); + if (getenv("POSIXLY_CORRECT") == NULL) + checkslash(argv); uid = geteuid(); if (*argv) { |