Added logfile

This commit is contained in:
xargon 2022-05-11 20:43:15 +09:00
parent 5c577c1b62
commit 3a56e07c7b

View file

@ -2,6 +2,9 @@
# Steam Deck SD path: /run/media/mmcblk0p1
# Create log
exec > ~/retrodeck/retrodeck.log 2>&1
is_mounted() {
mount | awk -v DIR="$1" '{if ($3 == DIR) { exit 0}} ENDFILE{exit -1}'
}