aboutsummaryrefslogtreecommitdiff
path: root/handlers/sys
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2007-03-04 20:15:39 +0000
committerMicah Anderson <micah@riseup.net>2007-03-04 20:15:39 +0000
commit6cdc21cff7018ea7ee5e080e271756699abec2c3 (patch)
tree458845fb300f6fadd8d48dd89aac13ea1d0d2d33 /handlers/sys
parent913b3850c87fd11fd389802995799b4a41ce7da3 (diff)
downloadbackupninja-6cdc21cff7018ea7ee5e080e271756699abec2c3.tar.gz
backupninja-6cdc21cff7018ea7ee5e080e271756699abec2c3.tar.bz2
fix LC_ALL=C sfdisk thing that I missed
Diffstat (limited to 'handlers/sys')
-rwxr-xr-xhandlers/sys2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/sys b/handlers/sys
index 3e7f03e..2e181c8 100755
--- a/handlers/sys
+++ b/handlers/sys
@@ -473,7 +473,7 @@ fi
if [ "$partitions" == "yes" ]; then
if [ "$dosfdisk" == "yes" ]; then
- devices=`$SFDISK -l 2>/dev/null | grep "^Disk /dev" | @AWK@ '{print $2}' | cut -d: -f1`
+ devices=`LC_ALL=C $SFDISK -l 2>/dev/null | grep "^Disk /dev" | @AWK@ '{print $2}' | cut -d: -f1`
if [ "$devices" == "" ]; then
warning "No harddisks found"
fi