Skip to content

Commit f1a873f

Browse files
committed
Fix mount-ram.sh
Fix mount-ram.sh Signed-off-by: Bensuperpc <[email protected]>
1 parent bf433a1 commit f1a873f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

partition/mount-ram.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ else
3333
fi
3434

3535
if (( $# == 2 )); then
36-
sudo mount -t tmpfs -o size="$"2M tmpfs "$1"
36+
sudo mount -t tmpfs -o size="$2"M tmpfs "$1"
3737
else
38-
echo "Usage: ${0##*/} <path> <size>"
38+
echo "Usage: ${0##*/} <path> <size>"
3939
fi

0 commit comments

Comments
 (0)