Browse Source

Remove unnecessary quotes

AJ Jordan 5 years ago
parent
commit
98a6b60a49
1 changed files with 1 additions and 1 deletions
  1. 1 1
      init/resize-rootfs-if-needed.sh

+ 1 - 1
init/resize-rootfs-if-needed.sh

@@ -16,7 +16,7 @@ sysfs_xvda="/sys/class/block/xvda"
 # if root filesystem use already (almost) the whole dis
 non_rootfs_data=$(( 250 * 1024 * 2 ))
 rootfs_size=$(df --block-size=512 --output=size / | tail -n 1)
-if [ "$(cat "$sysfs_xvda/size")" -lt \
+if [ $(cat $sysfs_xvda/size) -lt \
        $(( non_rootfs_data + rootfs_size )) ]; then
    echo "root filesystem already at $rootfs_size blocks" >&2
    exit 0