diff options
Diffstat (limited to 'glustolibs-io/shared_files/scripts/fd_writes.py')
-rwxr-xr-x | glustolibs-io/shared_files/scripts/fd_writes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-io/shared_files/scripts/fd_writes.py b/glustolibs-io/shared_files/scripts/fd_writes.py index 0911c3f11..87358f45a 100755 --- a/glustolibs-io/shared_files/scripts/fd_writes.py +++ b/glustolibs-io/shared_files/scripts/fd_writes.py @@ -34,7 +34,7 @@ def is_root(path): Returns: True if path is '/' , False otherwise """ - if os.path.realpath(os.path.abspath(path)) is '/': + if os.path.realpath(os.path.abspath(path)) == '/': print ("Directory '%s' is the root of filesystem. " "Not performing any operations on the root of filesystem" % os.path.abspath(path)) |