reset: use bare (default) files
@@ -18,12 +18,12 @@ if [ "$1" != "-f" ]; then
fail "This is a very dangerous operation, read the man page first"
fi
+"$KDB" reset-elektra -f
+
KDBSYSTEM=$("$KDB" file system)
KDBUSER=$("$KDB" file user)
KDBSPEC=$("$KDB" file spec)
-"$KDB" reset-elektra -f
-
"$KDB" rm -rf --without-elektra system || rm -f "$KDBSYSTEM"
"$KDB" rm -rf user || rm -f "$KDBUSER"
