projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2900711
)
Added warning if no devices were found on the system
author
Micah Anderson
<micah@riseup.net>
Sun, 6 Aug 2006 18:25:18 +0000
(18:25 +0000)
committer
Micah Anderson
<micah@riseup.net>
Sun, 6 Aug 2006 18:25:18 +0000
(18:25 +0000)
handlers/sys
patch
|
blob
|
history
diff --git
a/handlers/sys
b/handlers/sys
index a83baaafbcaaf1170c5c71fd20794a2efa890e9f..d0e2057d50bc15fdb48368c718f2a67882fb6939 100755
(executable)
--- a/
handlers/sys
+++ b/
handlers/sys
@@
-450,6
+450,9
@@
fi
if [ "$partitions" == "yes" ]; then
devices=`$HWINFO --disk | grep "Device File" | cut -d\ -f5`
+ if [ "$devices" == "" ]; then
+ warning "No harddisks found"
+ fi
for dev in $devices; do
[ -b $dev ] || continue
label=${dev#/dev/}