util-linux/util-linux-2.14.1-sys-utils_lscpu_exit.patch

12 lines
412 B
Diff

Index: util-linux-ng-2.14.1/sys-utils/lscpu.c
===================================================================
--- util-linux-ng-2.14.1.orig/sys-utils/lscpu.c 2008-10-20 15:00:44.000000000 +0200
+++ util-linux-ng-2.14.1/sys-utils/lscpu.c 2008-10-21 18:27:01.000000000 +0200
@@ -647,5 +647,5 @@ int main(int argc, char *argv[])
else
print_readable(cpu);
- return EXIT_FAILURE;
+ return EXIT_SUCCESS;
}