string formatting

This commit is contained in:
Lucas Noki 2020-01-25 02:38:41 +01:00
parent de6b0917e8
commit 59050e0665

View File

@ -61,7 +61,7 @@ class SwapModule(AbstractModule):
print("")
print("Swap already installed! You can resize it!")
print("Curr. swap size: {}b".format(swap_size))
resize = input("How big should your swap become(numbers in Gigabyte)? ")
resize = input("How big should your swap become (numbers in Gigabyte)? ")
resize_swapfile = "sudo swapoff /swapfile && " + \
"sudo fallocate -l {}G /swapfile && ".format(resize) + \
"sudo mkswap /swapfile && " + \