From dfa541908493400c1ec17a13c553bd01395502f6 Mon Sep 17 00:00:00 2001 From: Joe Standring Date: Sat, 8 Feb 2020 12:37:00 +0000 Subject: [PATCH] Use 'sh' For portability, sh allows the script to run on other shells set by the user. This has been tested on Bash and Posix sh and still functions using them. --- bar-functions/dwm_wpa.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bar-functions/dwm_wpa.sh b/bar-functions/dwm_wpa.sh index e02e118..337829e 100755 --- a/bar-functions/dwm_wpa.sh +++ b/bar-functions/dwm_wpa.sh @@ -1,4 +1,4 @@ -#!/bin/mksh +#!/bin/sh dwm_wpa() { CONSTATE=$(wpa_cli status | sed -n '/wpa_state/s/^.*=//p')