From 444cee281926b4d89fc1c1c90cb585f1ecd1dc89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= Date: Tue, 21 Feb 2023 23:46:42 +0100 Subject: [PATCH] fff-babel-bird2: prevent error message on revert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When reverting configured settings, it is not an error if no temporary directory for bird babel peers has been created. Use rm -rf to prevent an error message and early exit of configure-layer3 scripts. Signed-off-by: Fabian Bläse Reviewed-by: Johannes Kimmel --- .../fff-babel-bird2/files/lib/functions/fff/babeldaemon/bird2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/fff/fff-babel-bird2/files/lib/functions/fff/babeldaemon/bird2 b/src/packages/fff/fff-babel-bird2/files/lib/functions/fff/babeldaemon/bird2 index 866478bd..a8ace1df 100644 --- a/src/packages/fff/fff-babel-bird2/files/lib/functions/fff/babeldaemon/bird2 +++ b/src/packages/fff/fff-babel-bird2/files/lib/functions/fff/babeldaemon/bird2 @@ -68,5 +68,5 @@ babel_reload_implementation() { } babel_revert() { - rm -r /tmp/bird/fff + rm -rf /tmp/bird/fff }