summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/clock/hackvr-clock
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/clock/hackvr-clock')
-rwxr-xr-xshare/hackvr/examples/clock/hackvr-clock3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/hackvr/examples/clock/hackvr-clock b/share/hackvr/examples/clock/hackvr-clock
index 50f0f2c..95ba948 100755
--- a/share/hackvr/examples/clock/hackvr-clock
+++ b/share/hackvr/examples/clock/hackvr-clock
@@ -1,7 +1,6 @@
#!/usr/bin/env bash
-set -eo pipefail
if [ "$1" = "init" ];then
- grep -A1000 '___CUT___' "$0"
+ grep -A1000 '^___CUT___' "$0" | tail -n+2
exit
elif [ "$1" = "set" ];then
hour=$(date +%H | sed 's/^0//')