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:
dyoung@redhat.com 2012-06-22 14:50:34 +08:00 committed by Dave Young
parent a71cead537
commit a67cebf1bf

View File

@ -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() {