From 9fb2996d05c29279364ef400f0c8680c6baceb6f Mon Sep 17 00:00:00 2001 From: Xunlei Pang Date: Tue, 9 May 2017 17:30:30 +0800 Subject: [PATCH] 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 Acked-by: Dave Young --- kdumpctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdumpctl b/kdumpctl index d9be158..60bbd93 100755 --- a/kdumpctl +++ b/kdumpctl @@ -1,4 +1,4 @@ -#! /bin/sh +#!/bin/bash KEXEC=/sbin/kexec KDUMP_KERNELVER=""