mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 12:10:53 +03:00
install_bin: write error messages to stderr
This commit is contained in:
parent
7ff4214b5b
commit
916895e281
@ -29,11 +29,11 @@ check_dir()
|
||||
fi
|
||||
[ -n "$out" ]
|
||||
else
|
||||
echo "$exe is not executable. set proper chmod."
|
||||
echo >&2 "$exe is not executable. set proper chmod."
|
||||
return 1
|
||||
fi
|
||||
else
|
||||
echo "$exe is absent"
|
||||
echo >&2 "$exe is absent"
|
||||
return 2
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user