summarylogtreecommitdiffstats
path: root/xampp-control-panel
diff options
context:
space:
mode:
Diffstat (limited to 'xampp-control-panel')
-rw-r--r--xampp-control-panel4
1 files changed, 2 insertions, 2 deletions
diff --git a/xampp-control-panel b/xampp-control-panel
index 88204c4f0e1f..5a7f9cb226fb 100644
--- a/xampp-control-panel
+++ b/xampp-control-panel
@@ -1,5 +1,5 @@
-#!/bin/bash
-if [ $(which pkexec) ]; then
+#!/bin/sh
+if which pkexec &> /dev/null; then
pkexec python2 "/opt/lampp/share/xampp-control-panel/xampp-control-panel.py"
else
python2 /opt/lampp/share/xampp-control-panel/xampp-control-panel.py