ALT Linux Bugzilla
– Attachment 5984 Details for
Bug 29544
incorrect exit status of blkid
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
blkid: fix exit status when display version number
0001-blkid-fix-exit-status-when-display-version-number.patch (text/plain), 638 bytes, created by
led
on 2013-10-30 21:45:34 MSK
(
hide
)
Description:
blkid: fix exit status when display version number
Filename:
MIME Type:
Creator:
led
Created:
2013-10-30 21:45:34 MSK
Size:
638 bytes
patch
obsolete
>From 7de4794156b1750cbb1e1e0c42441c028798040d Mon Sep 17 00:00:00 2001 >From: Led <led@altlinux.ru> >Date: Wed, 30 Oct 2013 19:32:45 +0200 >Subject: [PATCH] blkid: fix exit status when display version number > >blkid exits with exit status 4 when launched with '-v' key, >but must be non-error status (0). >--- > misc-utils/blkid.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c >index fa38d82..d7fe188 100644 >--- a/misc-utils/blkid.c >+++ b/misc-utils/blkid.c >@@ -812,6 +812,7 @@ int main(int argc, char **argv) > > if (version) { > print_version(stdout); >+ err = 0; > goto exit; > } > >-- >1.8.3.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 29544
: 5984