浏览代码

Update bluetooth.sh

check for PVE
tteckster 2 年之前
父节点
当前提交
f22df25bd2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      misc/bluetooth.sh

+ 1 - 0
misc/bluetooth.sh

@@ -1,4 +1,5 @@
 #!/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
 clear