mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 00:04:14 -05:00
Unset PWD if it is incorrect and no value for it can be determined. This preserves the logical current directory across shell invocations. Example (assuming /home is a symlink): $ cd $ pwd /home/foo $ sh $ pwd /home/foo Formerly the second pwd would show the physical path (symlinks resolved). |
||
|---|---|---|
| .. | ||
| exitstatus1.0 | ||
| mail1.0 | ||
| mail2.0 | ||
| pwd1.0 | ||
| pwd2.0 | ||