diff options
-rw-r--r-- | source3/client/umount.cifs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/umount.cifs.c b/source3/client/umount.cifs.c index ab94a20c60..3e2415ad00 100644 --- a/source3/client/umount.cifs.c +++ b/source3/client/umount.cifs.c @@ -130,7 +130,7 @@ static int umount_check_perm(char * dir) printf("user unmounting via %s is an optional feature of",thisprogram); printf(" the cifs filesystem driver (cifs.ko)"); printf("\n\tand requires cifs.ko version 1.32 or later\n"); - } else if (rc > 0) + } else if (rc != 0) printf("user unmount of %s failed with %d %s\n",dir,errno,strerror(errno)); close(fileid); |