# HG changeset patch # User Tero Marttila # Date 1410089114 -10800 # Node ID b2078645456a3ef04999aa6890d2229668ca82b6 # Parent 4e828d47421ac81c45230047d957c90c6a99a5a4 pvl.rrd-interfaces: fix readlink() on existing symlinks diff -r 4e828d47421a -r b2078645456a bin/pvl.rrd-interfaces --- a/bin/pvl.rrd-interfaces Sun Sep 07 14:22:47 2014 +0300 +++ b/bin/pvl.rrd-interfaces Sun Sep 07 14:25:14 2014 +0300 @@ -94,7 +94,7 @@ ) # sync - if os.path.exists(linkpath) and os.path.readlink(linkpath) == rrdpath : + if os.path.exists(linkpath) and os.readlink(linkpath) == rrdpath : continue log.info("%s: %s", linkpath, rrdpath)