を行います機能/ binに/ falseを私は混乱していたマイナスの影響
#!/bin/sh
[ -f /etc/init.d/functions ] && . /etc/init.d/functions
[ 0 -eq 0 ] && action "Test" /bin/false || action "Test" /bin/true
echo "###############"
[ 0 -eq 0 ] && action "Test" /bin/true || action "Test" /bin/false
結果は次のとおりです。アクション/ binに/偽関数が作る偽の値を
Test [FAILED]
Test [ OK ]
###############
Test [ OK ]
返しません後ろの声明||実行される? /bin/falseを "& &"ブロックに入れる必要がある場合、何をするか