Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rwxr-xr-x.scripts/lock2
diff --git a/.scripts/lock b/.scripts/lock
index f2e1699..24911fc 100755
--- a/.scripts/lock
+++ b/.scripts/lock
@@ -18,7 +18,7 @@ before_locking () {
before_suspend () {
# Keep track of time when machine is suspended, as well as how long it has been up for
- uptime >> ~/.scripts/suspend-history
+ echo "$(date) $(uptime)" >> ~/.scripts/suspend-history
}
when_unlocked () {