Cleanup temp file leaved at /tmp/
module_setup.sh removed comment and blank lines of kdump.conf, then install it to initramfs, but it leaved the /tmp/$$-kdump.conf which should be removed. Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
a71cead537
commit
a67cebf1bf
@ -180,6 +180,7 @@ kdump_install_conf() {
|
||||
done < /etc/kdump.conf
|
||||
|
||||
inst "/tmp/$$-kdump.conf" "/etc/kdump.conf"
|
||||
rm -f /tmp/$$-kdump.conf
|
||||
}
|
||||
|
||||
kdump_iscsi_get_rec_val() {
|
||||
|
Loading…
Reference in New Issue
Block a user