mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 19:05:37 +00:00
fix typo making swap file
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
8e23494bed
commit
3f2eb7630e
@ -45,7 +45,7 @@ do_swapfile()
|
||||
SWAP=/var/spool/swap
|
||||
if [ "$(mobyplatform)" = "mac" ] || [ "$(mobyplatform)" = "windows" ] && [ ! -f $SWAP ]
|
||||
then
|
||||
mkdir -p "$(basnename $SWAP)"
|
||||
mkdir -p "$(basename $SWAP)"
|
||||
dd if=/dev/zero of=$SWAP bs=1k count=4090876
|
||||
chmod 600 $SWAP
|
||||
mkswap $SWAP
|
||||
|
Loading…
Reference in New Issue
Block a user