Browse Source

fragments/mogwai.sh: make shellcheck happier

master
Brennen Bearnes 1 year ago
parent
commit
976ed5d54e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      home/fragments/mogwai.sh

+ 3
- 3
home/fragments/mogwai.sh View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [ "`date '+%H'`" -lt 6 ]; then
echo do not feed the mogwai
if [ "$(date '+%H')" -lt 6 ]; then
echo 'do not feed the mogwai'
else
echo gizmo can have snacks
echo 'gizmo can have snacks'
fi

Loading…
Cancel
Save