Révision 865a1966
Redirected the output of which to the great bitbucket in the sky.
| plugins/disk/lvm_ | ||
|---|---|---|
| 45 | 45 |
EOF |
| 46 | 46 |
|
| 47 | 47 |
if [ "$1" = "autoconf" ]; then |
| 48 |
if ! which lvs 2>/dev/null; then |
|
| 48 |
if ! which lvs 2>&1 >/dev/null; then
|
|
| 49 | 49 |
echo "no (lvs not found)" |
| 50 |
elif ! which vgs 2>/dev/null; then |
|
| 50 |
elif ! which vgs 2>&1 >/dev/null; then
|
|
| 51 | 51 |
echo "no (vgs not found)" |
| 52 | 52 |
else |
| 53 | 53 |
echo "yes" |
Formats disponibles : Unified diff