diff options
author | Micah Anderson <micah@riseup.net> | 2007-03-04 20:15:39 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2007-03-04 20:15:39 +0000 |
commit | 6cdc21cff7018ea7ee5e080e271756699abec2c3 (patch) | |
tree | 458845fb300f6fadd8d48dd89aac13ea1d0d2d33 | |
parent | 913b3850c87fd11fd389802995799b4a41ce7da3 (diff) | |
download | backupninja-6cdc21cff7018ea7ee5e080e271756699abec2c3.tar.gz backupninja-6cdc21cff7018ea7ee5e080e271756699abec2c3.tar.bz2 |
fix LC_ALL=C sfdisk thing that I missed
-rw-r--r-- | ChangeLog | 1 | ||||
-rwxr-xr-x | handlers/sys | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -37,6 +37,7 @@ version 0.9.5 -- unreleased that produce warnings about no harddisks found (Closes: #404071) . Fixed example in example.sys to detail the __star__ in partitionsfile and note why its necessary (Closes: #409192) + . Force C locale for sfdisk to ensure english words are found in grep fixed 'make install' bug that failed if /etc/backup.d already existed changed spaces to tabs in Makefile.am updated examples/Makefile.am and handlers/Makefile.am to include rsnap/rub files 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 |