sosreport: mkdir /run/initramfs, if it does not exist yet

master
Harald Hoyer 2013-03-16 10:34:20 +01:00
parent 85804a9197
commit e42c7a980c
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@

echo 'Generating "/run/initramfs/sosreport.txt"'

[ -d /run/initramfs ] || mkdir -p /run/initramfs

exec >/run/initramfs/sosreport.txt 2>&1

set -x