Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Jul 29, 2016
1 parent ba1a426 commit d7d0799
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/fai-debconf
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ add_data() {
# add debconf data
local file=$1

[ X$verbose =X1 ] && echo "Adding debconf data from $debconfdir/$file"
[ X$verbose = X1 ] && echo "Adding debconf data from $debconfdir/$file"
$ROOTCMD debconf-set-selections $v < $debconfdir/$file 2>> $LOGDIR/debconf.log
cat $debconfdir/$file >> $LOGDIR/debconf.data
}
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/class/20-hwdetect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ case $(uname -r) in
esac

for mod in $kernelmodules; do
[ X$verbose =X1 ] && echo Loading kernel module $mod
[ X$verbose = X1 ] && echo Loading kernel module $mod
modprobe -a $mod 1>/dev/null 2>&1
done

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/hooks/savelog.LAST.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ if [ -s $errfile ]; then
fi

grep -i "$errorpatterns" *.log | grep -vi "$ignorepatterns" > $errfile
if [ X$verbose =X1 ]; then
if [ X$verbose = X1 ]; then
egrep -v '^software.log:' $errfile > $LOGDIR/tempfile
mv $LOGDIR/tempfile $errfile
fi
Expand Down

0 comments on commit d7d0799

Please sign in to comment.