projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not fail source retrieval step with apt >=1.1
[grml-live.git]
/
etc
/
grml
/
fai
/
config
/
scripts
/
GRMLBASE
/
94-update-smart-drivedb
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb
b/etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb
index
3baa757
..
5c7c30e
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb
@@
-23,9
+23,13
@@
fi
echo "Updating smartmontool drivedb"
if [ -n "$TIMEOUT" ] ; then
echo "Updating smartmontool drivedb"
if [ -n "$TIMEOUT" ] ; then
- $ROOTCMD timeout $TIMEOUT update-smart-drivedb
+ if ! $ROOTCMD timeout $TIMEOUT update-smart-drivedb ; then
+ echo "Warning: failed to update smartmontool drivedb, ignoring failure"
+ fi
else
else
- $ROOTCMD update-smart-drivedb
+ if ! $ROOTCMD update-smart-drivedb ; then
+ echo "Warning: failed to update smartmontool drivedb, ignoring failure"
+ fi
fi
## END OF FILE #################################################################
fi
## END OF FILE #################################################################