Skip to content

Commit

Permalink
remove error from dpkg call
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed May 30, 2023
1 parent ed52c4d commit 67296b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fai-cd
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ fi


kernelversion=$(ls -tr $NFSROOT/boot/vmlinu?-* | tail -1 | sed -e 's#.*/vmlinuz-##')
faiversion=$(dpkg --root=$NFSROOT -l fai-client|awk '/fai-client/ {print $3}')
faiversion=$(dpkg --root=$NFSROOT -l fai-client 2>/dev/null |awk '/fai-client/ {print $3}')
isoversion=$(printf "FAI %-6s build $(date '+%Y %b %d - %R')" "$faiversion")
aname="Fully Automatic Installation by Thomas Lange, $isoversion"

Expand Down

0 comments on commit 67296b1

Please sign in to comment.