[PR #2665] [MERGED] Attempting to use "command -v" #2894

Closed
opened 2026-10-15 04:06:01 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/2665
Author: @lunardunno
Created: 5/28/2026
Status: ✅ Merged
Merged: 5/28/2026
Merged by: @lunardunno

Base: feat/implementing_docker_service_checking ← Head: server_scripts_update


📝 Commits (5)

  • 7e0c35b Attempting to use "command -v"
  • 211bf51 "which" as main, "command" as backup.
  • 201e406 "which" as main, "command" as backup for check user
  • 6bb3db7 which LOCK_CMD with sudo
  • 7f41b87 suppressing sudo password prompt

📊 Changes

2 files changed (+13 additions, -12 deletions)

View changed files

📝 client/server_scripts/check_server_is_busy.sh (+8 -7)
📝 client/server_scripts/check_user_in_sudo.sh (+5 -5)

📄 Description

Switching to using "command -v" instead of "which".


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/2665 **Author:** [@lunardunno](https://github.com/lunardunno) **Created:** 5/28/2026 **Status:** ✅ Merged **Merged:** 5/28/2026 **Merged by:** [@lunardunno](https://github.com/lunardunno) **Base:** `feat/implementing_docker_service_checking` ← **Head:** `server_scripts_update` --- ### 📝 Commits (5) - [`7e0c35b`](https://github.com/amnezia-vpn/amnezia-client/commit/7e0c35ba295a45a4d80b4e4d6fd1753ea4c53c4d) Attempting to use "command -v" - [`211bf51`](https://github.com/amnezia-vpn/amnezia-client/commit/211bf51f1d8b28ba33aa37801690cb16656a6cc7) "which" as main, "command" as backup. - [`201e406`](https://github.com/amnezia-vpn/amnezia-client/commit/201e4063ed0ec7e1acb9cbae2703988416dda2f2) "which" as main, "command" as backup for check user - [`6bb3db7`](https://github.com/amnezia-vpn/amnezia-client/commit/6bb3db76841beac2030abf9a2065494de860e05f) which LOCK_CMD with sudo - [`7f41b87`](https://github.com/amnezia-vpn/amnezia-client/commit/7f41b8790ed02f1ea8d3bf0aed15259996f11517) suppressing sudo password prompt ### 📊 Changes **2 files changed** (+13 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `client/server_scripts/check_server_is_busy.sh` (+8 -7) 📝 `client/server_scripts/check_user_in_sudo.sh` (+5 -5) </details> ### 📄 Description Switching to using "command -v" instead of "which". --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 04:06:01 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#2894
No description provided.