diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-02-10 23:31:26 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-02-10 23:31:26 +0100 |
commit | d5305dc19943b98ce9e5a98110389d6800f56318 (patch) | |
tree | f66653e443621133146f75fe204f01fe8140eb55 /sys/src/cmd/exportfs/exportsrv.c | |
parent | 3a697585f05d68bda686b1c55d701a9e24693080 (diff) |
exportfs: applying exportfs-chdir patch (from sources)
Fix the behavior of exportfs -r.
Check the return of chdir(srv) to prevent exporting accidentally
the current working directory when the directory specified
with option -r doesn't exist.
Also fix at the same time the missing trailing \n in error
messages printed just before exits().
Diffstat (limited to 'sys/src/cmd/exportfs/exportsrv.c')
0 files changed, 0 insertions, 0 deletions