diff options
| author | Marco Amadori <amadorim@vdavda.com> | 2008-10-02 12:34:17 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:02 +0100 |
| commit | f631495de9586b0be892226bcdcf6802d8fc2143 (patch) | |
| tree | a1096e2638939ff634f0423e56fc9d4dc40a8f4a /scripts | |
| parent | 066ce6ffabad0eff4be36c477177e941f2bd50fb (diff) | |
| download | live-boot-f631495de9586b0be892226bcdcf6802d8fc2143.tar.gz live-boot-f631495de9586b0be892226bcdcf6802d8fc2143.zip | |
Do not pollute the logs when looking for swap partitions.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live-bottom/13swap | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live-bottom/13swap b/scripts/live-bottom/13swap index 1975bd5..8fc718c 100755 --- a/scripts/live-bottom/13swap +++ b/scripts/live-bottom/13swap @@ -41,7 +41,7 @@ do continue fi - /lib/udev/vol_id ${device%%[0-9]*} | grep -q "^ID_FS_USAGE=raid" && continue + /lib/udev/vol_id ${device%%[0-9]*} 2>/dev/null | grep -q "^ID_FS_USAGE=raid" && continue magic=$(/bin/dd if="${device}" bs=4086 skip=1 count=1 2>/dev/null | /bin/dd bs=10 count=1 2>/dev/null) || continue |
