From: garciadeblas Date: Tue, 27 Sep 2016 09:16:14 +0000 (+0200) Subject: Fixes bug #57 X-Git-Tag: v1.0.0~26^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=4b3b446c8fdf554a5b401cb492583ffeb0a58fb7;p=osm%2FRO.git Fixes bug #57 Change-Id: I5046992bf7e9d4be2a87dfd22074199830ad00e3 Signed-off-by: garciadeblas --- diff --git a/database_utils/init_mano_db.sh b/database_utils/init_mano_db.sh index 9fc9b753..224269bc 100755 --- a/database_utils/init_mano_db.sh +++ b/database_utils/init_mano_db.sh @@ -98,7 +98,7 @@ DBHOST_="-h$DBHOST" DBPORT_="-P$DBPORT" TEMPFILE="$(mktemp -q --tmpdir "initmanodb.XXXXXX")" -trap 'rm -f "$TEMPFILE"' EXIT SIGINT SIGTERM +trap 'rm -f "$TEMPFILE"' EXIT chmod 0600 "$TEMPFILE" cat >"$TEMPFILE" <"$TEMPFILE" <"$TEMPFILE" <