Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: src/platform/init/chromeos_shutdown

Issue 2051003: Initial patch from Will. (Closed) Base URL: ssh://git@chromiumos-git/chromiumos
Patch Set: Address style nits. Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/platform/init/chromeos_shutdown
diff --git a/src/platform/init/chromeos_shutdown b/src/platform/init/chromeos_shutdown
index 8d6cf3a1dc53959608342aec8eb288aa6c287f57..58f5d4f24f12b6c26ac7e532f8ef900aaffc9197 100755
--- a/src/platform/init/chromeos_shutdown
+++ b/src/platform/init/chromeos_shutdown
@@ -29,7 +29,7 @@ kill_with_open_files_on /mnt/stateful_partition /home/chronos
# Unmount our stateful mount points. If any of these fail we do a best-effort
# attempt to touch a /var/log file for future inspection.
-/usr/sbin/umount.cryptohome
+/usr/sbin/cryptohome --action=unmount
if [ $? -ne 0 ] ; then
mount > /var/log/shutdown_cryptohome_umount_failure
fi

Powered by Google App Engine
This is Rietveld 408576698