Remove $ that shouldn't have been there

pull/123/head
Newbyte 4 years ago
parent 9f83e15750
commit 06e0fdd248

@ -4,7 +4,7 @@ SU_CMD=$(command -v sudo || command -v doas)
# doas requires a double dash if the command it runs will include any dashes,
# so append a double dash to the command
[[ $SU_CMD == *doas ]] && $SU_CMD="$SU_CMD -- "
[[ $SU_CMD == *doas ]] && SU_CMD="$SU_CMD -- "
mangohud_usage() {

@ -12,7 +12,7 @@ SU_CMD=$(command -v sudo || command -v doas)
# doas requires a double dash if the command it runs will include any dashes,
# so append a double dash to the command
[[ $SU_CMD == *doas ]] && $SU_CMD="$SU_CMD -- "
[[ $SU_CMD == *doas ]] && SU_CMD="$SU_CMD -- "
# Correctly identify the os-release file.
for os_release in ${OS_RELEASE_FILES[@]} ; do

Loading…
Cancel
Save