summaryrefslogtreecommitdiff
path: root/sys/src/cmd/exportfs/pattern.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-02-10 23:31:26 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2013-02-10 23:31:26 +0100
commitd5305dc19943b98ce9e5a98110389d6800f56318 (patch)
treef66653e443621133146f75fe204f01fe8140eb55 /sys/src/cmd/exportfs/pattern.c
parent3a697585f05d68bda686b1c55d701a9e24693080 (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/pattern.c')
0 files changed, 0 insertions, 0 deletions