diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-10-08 10:42:37 -0400 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-10-12 11:47:26 +0200 |
commit | d7607eb74658cae4856bb287242bc6f5fb27438b (patch) | |
tree | 66b22e60067b8d2f62555f9ab2b210faafb96c07 | |
parent | 8468e58b449914474116c8b13a8008fe02fc37ba (diff) | |
download | samba-d7607eb74658cae4856bb287242bc6f5fb27438b.tar.gz |
Revert "cifs mount did not properly display version string when no other parameters passed in."
This reverts commit c7bf0f4c222ae46be2a751997e03197832b494cd.
Part 1/2 of a fix for bug #6692.
(cherry picked from commit 2cda51b4e6fba53c04f87e4c2dd99a952a63d812)
-rw-r--r-- | source/client/mount.cifs.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/client/mount.cifs.c b/source/client/mount.cifs.c index c78aee03a0e..bb40a8cfc3a 100644 --- a/source/client/mount.cifs.c +++ b/source/client/mount.cifs.c @@ -1098,14 +1098,6 @@ int main(int argc, char ** argv) } mountpoint = argv[2]; } else { - if ((strcmp (argv[1], "--version") == 0) || - ((strcmp (argv[1], "-V") == 0))) { - printf ("mount.cifs version: %s.%s%s\n", - MOUNT_CIFS_VERSION_MAJOR, - MOUNT_CIFS_VERSION_MINOR, - MOUNT_CIFS_VENDOR_SUFFIX); - exit (0); - } mount_cifs_usage(); exit(EX_USAGE); } |