forked from pool/kdump
In rc.kdump.functions, function load_kdump(), the argument order for kdumptool in verbose/debug-mode is wrong. $(kdumptool find_kernel -D) leads to "invalid option", $(kdumptool -D find_kernel) works. OBS-URL: https://build.opensuse.org/request/show/222333 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=56
12 lines
386 B
Diff
12 lines
386 B
Diff
--- init/rc.kdump.functions.old 2014-01-13 07:35:41.000000000 +0100
|
|
+++ init/rc.kdump.functions 2014-02-14 12:46:28.375308000 +0100
|
|
@@ -261,7 +261,7 @@
|
|
find_kernel_args="-D"
|
|
fi
|
|
|
|
- local output=$(kdumptool find_kernel $find_kernel_args)
|
|
+ local output=$(kdumptool $find_kernel_args find_kernel)
|
|
if [ $? -ne 0 ] ; then
|
|
rc_status -s
|
|
rc_failed 6
|