From 4b3b446c8fdf554a5b401cb492583ffeb0a58fb7 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 27 Sep 2016 11:16:14 +0200 Subject: [PATCH] Fixes bug #57 Change-Id: I5046992bf7e9d4be2a87dfd22074199830ad00e3 Signed-off-by: garciadeblas --- database_utils/init_mano_db.sh | 2 +- database_utils/migrate_mano_db.sh | 2 +- scripts/install-openmano.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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" <