summaryrefslogtreecommitdiff
path: root/libvasile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-03-14 16:10:24 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-03-14 16:10:24 +0000
commit0365b5c778276311bf255e4357b58c2717c9545c (patch)
tree8cbf28987af9b7863598928f5d865886601c18bc /libvasile
parent02aac0d738a33af2c637a0bba7b3e32b9d4b2a88 (diff)
fix what we broke
Diffstat (limited to 'libvasile')
-rwxr-xr-xlibvasile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvasile b/libvasile
index 6fdd2cf..922b615 100755
--- a/libvasile
+++ b/libvasile
@@ -90,7 +90,7 @@ chrootstartx64 () {
mount -t squashfs "$chrootx64" "$rodir"
if [[ "$(uname -r | cut -d . -f1,2)" = "3.14" ]] ; then
mount -t overlayfs -o lowerdir="$rodir",upperdir="$rwdir" overlayfs "$overlaydir"
- elif [[ "$(uname -r | cut -d . -f1,2)" >= "3.18" ]] ; then
+ else # kernel version equal or above 3.18
mount -t overlay -o lowerdir="$rodir",upperdir="$rwdir",workdir="$workdir" overlay "$overlaydir"
fi
while : true ; do
@@ -172,7 +172,7 @@ chrootstartx86 () {
mount -t squashfs "$chrootx86" "$rodir"
if [[ "$(uname -r | cut -d . -f1,2)" = "3.14" ]] ; then
mount -t overlayfs -o lowerdir="$rodir",upperdir="$rwdir" overlayfs "$overlaydir"
- elif [[ "$(uname -r | cut -d . -f1,2)" >= "3.18" ]] ; then
+ else # kernel version equal or above 3.18
mount -t overlay -o lowerdir="$rodir",upperdir="$rwdir",workdir="$workdir" overlay "$overlaydir"
fi
while : true ; do