summaryrefslogtreecommitdiff
path: root/scripts/image_signing/set_chronos_password.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/image_signing/set_chronos_password.sh')
-rwxr-xr-xscripts/image_signing/set_chronos_password.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/image_signing/set_chronos_password.sh b/scripts/image_signing/set_chronos_password.sh
index e3a33553..a5742305 100755
--- a/scripts/image_signing/set_chronos_password.sh
+++ b/scripts/image_signing/set_chronos_password.sh
@@ -42,7 +42,7 @@ main() {
exit 1
fi
# Prepare for remounting read/write.
- sudo umount -d $rootfs
+ sudo umount $rootfs
fi
mount_image_partition "$image" 3 "$rootfs"
change_chronos_password "$rootfs" "$chronos_password"