Attach to current users tf2 instead of newest

This commit is contained in:
LightCat 2019-03-25 21:33:04 +01:00
parent f3ca230f0a
commit 83082da416
3 changed files with 3 additions and 3 deletions

2
attach
View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
sudo ./scripts/auto-updater
line=$(pidof hl2_linux)
line=$(pgrep -u $SUDO_USER hl2_linux)
arr=($line)
inst=$1
if [ $# == 0 ]; then

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
sudo ./scripts/auto-updater
line=$(pidof hl2_linux)
line=$(pgrep -u $SUDO_USER hl2_linux)
arr=($line)
inst=$1
if [ $# == 0 ]; then

View File

@ -4,7 +4,7 @@
# https://github.com/LWSS/Fuzion/commit/a53b6c634cde0ed47b08dd587ba40a3806adf3fe
sudo ./scripts/auto-updater
line=$(pidof hl2_linux)
line=$(pgrep -u $SUDO_USER hl2_linux)
arr=($line)
inst=$1
if [ $# == 0 ]; then