cifs.upcall.c: the exit code should be 0 when print version
Subsystems (2)
PATCH 1/1 cifs.upcall.c: the exit code should be 0 when print version
When print version number, the exit code should be 0 and syslog() should not send "Negating key" to the system logger.
Signed-off-by Peng Haitao <[email protected]>
--- cifs.upcall.c | 1 + 1 file changed, 1 insertion(+)
cifs.upcall.c +1 -0
@@ -857,6 +857,7 @@ int main(const int argc, char *const argv[]) legacy_uid++;break ;case 'v' : + rc =0 ;printf ("version: %s\n" ,VERSION ); goto out;default :
Signature · 1 line
1.8.1.4
A message that is not in the archive (sent off-list or not yet received): 1368782822-15039-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org
Quoted 13 lines · On Fri, 17 May 2013 17:27:02 +0800 Peng Haitao…
When print version number, the exit code should be 0 and
syslog()should not send "Negating key" to the system logger.Signed-off-by Peng Haitao <[email protected]>--- cifs.upcall.c | 1 + 1 file changed, 1 insertion(+)cifs.upcall.c +0
-0
cifs.upcall.c int main(const int argc, char *const argv[]) · line 863
Quoted 7 lines
cifs.upcall.c +1
-0@@ -857,6 +857,7 @@ int main(const int argc, char *const argv[]) legacy_uid++;break ;case 'v' : + rc =0 ;printf ("version: %s\n" ,VERSION ); goto out;default :
Merged...
Signature · 1 line
Jeff Layton <[email protected]>