Skip to content

Commit

Permalink
do not save dmesg if running on the host system, not the client system
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Nov 10, 2016
1 parent d69ed23 commit 2920c00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/subroutines
Expand Up @@ -120,6 +120,7 @@ rwmount() {
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
save_dmesg() {

[ $do_init_tasks -eq 0 ] && return
if [ -x /usr/sbin/logtail ] ; then
logtail -f /var/log/kern.log -o /var/lib/fai/kern.log.offset >> $LOGDIR/dmesg.log
else
Expand Down

0 comments on commit 2920c00

Please sign in to comment.