Permalink
Browse files

12swap: fix typo

Change-Id: I20792b55ed7b8404e5da9acf8f84d4ca04230650
  • Loading branch information...
nadlabak committed Dec 28, 2012
1 parent 47f7b21 commit 3328ada186119f0083c24034bf881d33746a4b48
Showing with 1 addition and 1 deletion.
  1. +1 −1 prebuilt/etc/init.d/12swap
@@ -11,7 +11,7 @@ if [ $SWAPSIZE -eq 0 ]; then
exit
fi
SWAPPARTSIZE=$((`cat /sys/block/mmcblk0/mmcblk0p3/size`/2))
-if [ $SWAPSIZE -qt $SWAPPARTSIZE ]; then
+if [ $SWAPSIZE -gt $SWAPPARTSIZE ]; then
SWAPSIZE=$SWAPPARTSIZE
fi
mkswap /dev/block/mmcblk0p3 $SWAPSIZE

0 comments on commit 3328ada

Please sign in to comment.