diff --git a/bin/milis-kurulum.py b/bin/milis-kurulum.py index 0de81e136..411b2ba4c 100644 --- a/bin/milis-kurulum.py +++ b/bin/milis-kurulum.py @@ -182,7 +182,7 @@ def chooseSwap(part): def setSwap(part): os.system("mkswap "+"/dev/"+part) - os.system('echo "`lsblk -ln -o UUID ' + part + '` none swap sw 0 0" | tee -a /etc/fstab') + os.system('echo "`lsblk -ln -o UUID /dev/' + part + '` none swap sw 0 0" | tee -a /etc/fstab') if __name__ == "__main__":