Skip to content

Commit

Permalink
Merge pull request #12 from NickLion/master
Browse files Browse the repository at this point in the history
Add logging to journal as well
  • Loading branch information
sndirsch authored Mar 21, 2019
2 parents 25e8aad + 9591275 commit ac9bf6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prime-select.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function logging {
echo "##SUSEPrime logfile##" > $prime_logfile
fi
echo "[ $(date +"%H:%M:%S") ] ${1}" >> $prime_logfile
echo "${1}" | systemd-cat -t suse-prime -p info
}

function check_root {
Expand Down

0 comments on commit ac9bf6c

Please sign in to comment.