app-backup/rdup: fix which patch

As reported by Eli.

Bug: https://bugs.gentoo.org/963094
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-09-19 22:12:49 +01:00
parent c20702e4b8
commit c203c4ef2d
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ https://bugs.gentoo.org/963094
if $mcrypt; then
- if ! which mcrypt 2>/dev/null 1>&2; then
+ if ! command -v bash > /dev/null; then
+ if ! command -v mcrypt > /dev/null; then
echo2 "Mcrypt not found, can not continue"
exit 1
fi