diff options
author | Jeremy Allison <jra@samba.org> | 2013-06-17 16:16:31 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-06-18 02:41:10 +0200 |
commit | fcc43cfbe34f3e8039c5e1364fc327f3d7b88b12 (patch) | |
tree | 5dc72b92f0a9f55d5b632b3c2f7d4d1ea3931bd5 /lib/dnspython/examples/name.py | |
parent | d924da9bc82bbb9f088eb15ac58377e2a1ae3a58 (diff) | |
download | samba-fcc43cfbe34f3e8039c5e1364fc327f3d7b88b12.tar.gz samba-fcc43cfbe34f3e8039c5e1364fc327f3d7b88b12.tar.bz2 samba-fcc43cfbe34f3e8039c5e1364fc327f3d7b88b12.zip |
Fix xx_path() - return check from mkdir() is incorrect.
This is very old code, but mkdir() fails with -1, not 0.
Only print the error message is mkdir failed with anything
other than EEXIST.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
Diffstat (limited to 'lib/dnspython/examples/name.py')
0 files changed, 0 insertions, 0 deletions