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

Unified Diff: chromeos-setimage

Issue 3432020: postinst: don't abort after marking new part bootable. (Closed) Base URL: ssh://git@chromiumos-git/installer.git
Patch Set: Created 10 years, 3 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
« no previous file with comments | « chromeos-postinst ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos-setimage
diff --git a/chromeos-setimage b/chromeos-setimage
index 0cf764f38181a83a4112bb6e0810fd4631640393..fe422ca7f1fc3429f9a537beab75a8214ad1f6ce 100755
--- a/chromeos-setimage
+++ b/chromeos-setimage
@@ -35,8 +35,8 @@ fi
# We need to check that there is a root device,
# factory install runs from tmpfs and rootdev does not
# return a meaningful result in that case.
-if rootdev -s &> /dev/null; then
- if type rootdev &> /dev/null; then
+if rootdev -s 2>&1 > /dev/null; then
+ if type rootdev 2>&1 > /dev/null; then
Will Drewry 2010/09/23 01:57:36 change is fine, but I dunno why we do type rootdev
# Enable verification, but don't force a check for dev builds.
if rootdev | grep -qE '^/dev/(dm-|mapper/)'; then
rootfs_verification_default=${FLAGS_TRUE}
« no previous file with comments | « chromeos-postinst ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698