summaryrefslogtreecommitdiff
path: root/navit/script/cabify.sh
diff options
context:
space:
mode:
Diffstat (limited to 'navit/script/cabify.sh')
-rwxr-xr-xnavit/script/cabify.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/navit/script/cabify.sh b/navit/script/cabify.sh
index ea6dba4b4..98a475072 100755
--- a/navit/script/cabify.sh
+++ b/navit/script/cabify.sh
@@ -2,8 +2,7 @@
function check_pocketcab()
{
- which pocketpc-cab &> /dev/null
- if [ $? -ne 0 ]
+ if ! which pocketpc-cab &> /dev/null
then
echo "You don't have pocketpc-cab installed or not in PATH"
exit