Skip to content

Commit

Permalink
fix logic when testing for xorriso
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Sep 18, 2019
1 parent aff03ed commit fd5d300
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 @@ -95,7 +95,7 @@ error_space() {
check_programs() {

local msg
[ $squash_only -eq 1 ] && command -v xorriso >&/dev/null || msg+="xorriso not found. Please install package."
[ $squash_only -eq 0 ] && ! command -v xorriso >&/dev/null && msg+="xorriso not found. Please install package."
command -v mksquashfs >&/dev/null || msg+="\nmksquashfs not found. Please install the package squashfs-tools."
command -v parted >&/dev/null || msg+="\ncommand parted not found. Please install package parted."

Expand Down

0 comments on commit fd5d300

Please sign in to comment.