mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-01-07 09:08:57 +01:00
Minor
This commit is contained in:
parent
6717a5f62e
commit
5f0a224d17
@ -23,7 +23,7 @@ exists() {
|
|||||||
command -v "$1" > /dev/null
|
command -v "$1" > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
check_exist() {
|
check_exists() {
|
||||||
[ $? = 127 ] && exit 127
|
[ $? = 127 ] && exit 127
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ send_image() {
|
|||||||
|
|
||||||
convert_and_show_image() {
|
convert_and_show_image() {
|
||||||
setup_fifo
|
setup_fifo
|
||||||
cache || "$@" || check_exist
|
cache || "$@" || check_exists
|
||||||
send_image "$cache_f"
|
send_image "$cache_f"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user