mirror of
https://github.com/buildplan/du_setup.git
synced 2025-12-29 16:14:59 +00:00
fix shellcheck warning
This commit is contained in:
@@ -3871,6 +3871,7 @@ install_dtop_optional() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
# shellcheck disable=SC2024
|
||||||
if sudo -u "$USERNAME" bash "$DTOP_INSTALLER" < /dev/null >> "$LOG_FILE" 2>&1; then
|
if sudo -u "$USERNAME" bash "$DTOP_INSTALLER" < /dev/null >> "$LOG_FILE" 2>&1; then
|
||||||
# Verify installation
|
# Verify installation
|
||||||
if [[ -f "$USER_LOCAL_BIN/dtop" ]]; then
|
if [[ -f "$USER_LOCAL_BIN/dtop" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user