kdumpctl: change the shebang header to use /bin/bash

We met one issue that when changing softlink of "/usr/bin/sh"
to point to "ksh" instead of the default "bash", kdumpctl will
not work and go wrong.

kdumpctl is expected to run under bash like dracut, we should
change its shebang header from "#!/bin/sh" to "#!/bin/bash".

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
Acked-by: Dave Young <dyoung@redhat.com>
This commit is contained in:
Xunlei Pang 2017-05-09 17:30:30 +08:00 committed by Dave Young
parent 2b4b7a6374
commit 9fb2996d05
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
KEXEC=/sbin/kexec
KDUMP_KERNELVER=""