Chromium Code Reviews| 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} |