fixed clone

This commit is contained in:
Thomas von Dein
2021-07-05 19:05:45 +02:00
parent d53dc0549f
commit f4741dac5f

3
jaildk
View File

@@ -1019,7 +1019,6 @@ jaildk_clone() {
esac esac
done done
if test -z "$new"; then if test -z "$new"; then
usage_clone usage_clone
fi fi
@@ -1037,7 +1036,7 @@ jaildk_clone() {
fi fi
die_if_not_exist $src "Source jail" die_if_not_exist $src "Source jail"
load-jail-config $jail load-jail-config $src
if test -z "$srcversion"; then if test -z "$srcversion"; then
srcversion=$version srcversion=$version