Added logfile

This commit is contained in:
xargon 2022-05-11 20:43:15 +09:00
parent 795f082c42
commit 35c6d7e0e9

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}'
}