dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 615af2a5610ca5974c18007ddf5866c38766043c
parent 63846f53b20b22b5a3badb2af68eb1c461a97ba6
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Mon, 19 Aug 2019 14:59:57 +0200

track: bugfix on conditional

Former-commit-id: ebe4222743fd834d4a2ac06edf7ba79a09c11b9f
Diffstat:
Mscripts/track | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/scripts/track b/scripts/track @@ -2,6 +2,7 @@ PARAMS="" calc_values() { + [ -f /tmp/timetrackfile ] || { echo "No trackfile." && exit 1; } start_time_s=$(cat /tmp/timetrackfile && rm /tmp/timetrackfile) end_time_s=$(date +%s) duration_s=$((end_time_s - start_time_s))