From: Jeff Layton Date: Thu, 8 Oct 2009 14:42:37 +0000 (-0400) Subject: Revert "cifs mount did not properly display version string when no other parameters... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cda51b4e6fba53c04f87e4c2dd99a952a63d812;p=thirdparty%2Fsamba.git 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. --- 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); }