Sfoglia il codice sorgente

Update bluetooth.sh

check for PVE
tteckster 2 anni fa
parent
commit
f22df25bd2
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      misc/bluetooth.sh

+ 1 - 0
misc/bluetooth.sh

@@ -1,4 +1,5 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
+if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️  Can't Run from the Proxmox Shell"; exit; fi
 set -e
 set -e
 clear
 clear