Skip to content

Commit

Permalink
fix(issue #27): added "y" as a valid alternative for "yes"
Browse files Browse the repository at this point in the history
  • Loading branch information
vsimko committed Oct 15, 2017
1 parent 8789aec commit d4ae099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/figconv-plugins/ooo-input.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function check_odg() {
echoerr "An instance of LibreOffice or OpenOffice is running."
echoerr "This may cause unoconv tool to fail"
read -p "Should we kill the process now [yes/no] ? (default=no): " ANS
if [ "$ANS" == "yes" ]; then
if [ "$ANS" == "yes" -o "$ANS" == "y" ]; then
killall soffice.bin
else
return $CODE_ERROR
Expand Down

0 comments on commit d4ae099

Please sign in to comment.