forked from Mirror/pmbootstrap
pmb.install._install: correct capitalisation in an error message (!1894)
This commit is contained in:
parent
73401f8606
commit
00dc54a6c7
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ def sanity_check_sdcard(device):
|
||||||
with open('/sys/class/block/{}/ro'.format(device_name), 'r') as handle:
|
with open('/sys/class/block/{}/ro'.format(device_name), 'r') as handle:
|
||||||
ro = handle.read()
|
ro = handle.read()
|
||||||
if ro == '1\n':
|
if ro == '1\n':
|
||||||
raise RuntimeError("{} is read-only, Is the sdcard locked?".format(device))
|
raise RuntimeError("{} is read-only, is the sdcard locked?".format(device))
|
||||||
|
|
||||||
|
|
||||||
def install_system_image(args):
|
def install_system_image(args):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue