dracut-kdump: use POSIX shell syntax
kdump.sh may run under sh/dash in kdump kernel. Signed-off-by: Xunlei Pang <xlpang@redhat.com> Acked-by: Dave Young <dyoung@redhat.com>
This commit is contained in:
parent
ac1eb7edce
commit
391969ced7
@ -148,7 +148,7 @@ read_kdump_conf()
|
||||
case "$config_opt" in
|
||||
dracut_args)
|
||||
config_val=$(get_dracut_args_target "$config_val")
|
||||
[[ -n "$config_val" ]] && add_dump_code "dump_fs $config_val"
|
||||
[ -n "$config_val" ] && add_dump_code "dump_fs $config_val"
|
||||
;;
|
||||
ext[234]|xfs|btrfs|minix|nfs)
|
||||
add_dump_code "dump_fs $config_val"
|
||||
|
Loading…
Reference in New Issue
Block a user