HomeFreeBSD

Use env pwd instead of pwd in crunchgen.c

Description

Use env pwd instead of pwd in crunchgen.c

In r364166 I changed /bin/pwd to pwd, but pwd can be shell builtin that
may not correctly return a real path. To ensure that all symlinks are
resolved use env pwd -P instead (the -P flag is part of POSIX so
should be supported everywhere).

Reported By: rgrimes
Suggested By: jrtc27

Details

Provenance
arichardsonAuthored on Aug 12 2020, 5:27 PM
Parents
rGf7d79f6c6d50: Correctly set error in rt_mpath_unlink
Branches
Unknown
Tags
Unknown

Event Timeline