From c7fa383ee498fbd6351f6979f4daf66f26b67ad9 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Mar 2012 17:48:14 +0200 Subject: [PATCH] =?UTF-8?q?Kollisionswahrscheinlichkeit=20der=20temor?= =?UTF-8?q?=C3=A4ren=20Files=20durch=20genauere=20Zeitstempel=20verringert?= =?UTF-8?q?(sollte=20hier=20eh=20nicht=20kollidieren,=20aber=20sicher=20is?= =?UTF-8?q?t=20sicher)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dump.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dump.sh b/Dump.sh index ee36eff..7cf40ed 100755 --- a/Dump.sh +++ b/Dump.sh @@ -33,7 +33,7 @@ trap 'quit 0' SIGINT SIGTERM EXIT do_record() { for i in $CAMERAS; do echo "starting recording for camera $i" >&2 - OUTFILE_START=tmp_dump_cam_${i}_$(date +%s)_RANDOM$RANDOM.mjpg + OUTFILE_START=tmp_dump_cam_${i}_$(date +%s.%N)_RANDOM$RANDOM.mjpg ( EXACT_START_TIME=$(date +%s.%N) outfile_close_trap() {