about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsnapshot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/snapshot.sh b/snapshot.sh
index 2f15498..536e289 100755
--- a/snapshot.sh
+++ b/snapshot.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
 set -e -u
 
-ts=`date +'%Y.%m.%d.%H.%M'`
+ts=$(date +'%Y.%m.%d.%H.%M')
 gzip -c -9 < "$1/torus.dat" > "$2/torus.dat.$ts.gz"