mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50: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
|
fi
|
||||||
[ -n "$out" ]
|
[ -n "$out" ]
|
||||||
else
|
else
|
||||||
echo "$exe is not executable. set proper chmod."
|
echo >&2 "$exe is not executable. set proper chmod."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "$exe is absent"
|
echo >&2 "$exe is absent"
|
||||||
return 2
|
return 2
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user