From 2ef6ace428dec4795b8b0a67fff6949e817013de Mon Sep 17 00:00:00 2001 From: Juergen Gross Date: Tue, 10 Jan 2017 17:13:39 +0100 Subject: [PATCH] tools: don't remove tdb data base file before starting xenstored As xenstored now is always starting with an empty tdb data base there is no need any longer to remove the file before starting xenstored. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- tools/hotplug/Linux/launch-xenstore.in | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/hotplug/Linux/launch-xenstore.in b/tools/hotplug/Linux/launch-xenstore.in index 01193be349..991dec8d25 100644 --- a/tools/hotplug/Linux/launch-xenstore.in +++ b/tools/hotplug/Linux/launch-xenstore.in @@ -54,7 +54,6 @@ test -f @CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons && . @CONFIG_DIR@/@CONFIG_LEAF [ "$XENSTORETYPE" = "daemon" ] && { [ -z "$XENSTORED_ROOTDIR" ] && XENSTORED_ROOTDIR="@XEN_LIB_STORED@" - /bin/rm -f $XENSTORED_ROOTDIR/tdb* &>/dev/null [ -z "$XENSTORED_TRACE" ] || XENSTORED_ARGS="$XENSTORED_ARGS -T @XEN_LOG_DIR@/xenstored-trace.log" [ -z "$XENSTORED" ] && XENSTORED=@XENSTORED@ [ -x "$XENSTORED" ] || { -- 2.30.2