Attach to current users tf2 instead of newest
This commit is contained in:
parent
f3ca230f0a
commit
83082da416
2
attach
2
attach
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
sudo ./scripts/auto-updater
|
sudo ./scripts/auto-updater
|
||||||
line=$(pidof hl2_linux)
|
line=$(pgrep -u $SUDO_USER hl2_linux)
|
||||||
arr=($line)
|
arr=($line)
|
||||||
inst=$1
|
inst=$1
|
||||||
if [ $# == 0 ]; then
|
if [ $# == 0 ]; then
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
sudo ./scripts/auto-updater
|
sudo ./scripts/auto-updater
|
||||||
line=$(pidof hl2_linux)
|
line=$(pgrep -u $SUDO_USER hl2_linux)
|
||||||
arr=($line)
|
arr=($line)
|
||||||
inst=$1
|
inst=$1
|
||||||
if [ $# == 0 ]; then
|
if [ $# == 0 ]; then
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# https://github.com/LWSS/Fuzion/commit/a53b6c634cde0ed47b08dd587ba40a3806adf3fe
|
# https://github.com/LWSS/Fuzion/commit/a53b6c634cde0ed47b08dd587ba40a3806adf3fe
|
||||||
|
|
||||||
sudo ./scripts/auto-updater
|
sudo ./scripts/auto-updater
|
||||||
line=$(pidof hl2_linux)
|
line=$(pgrep -u $SUDO_USER hl2_linux)
|
||||||
arr=($line)
|
arr=($line)
|
||||||
inst=$1
|
inst=$1
|
||||||
if [ $# == 0 ]; then
|
if [ $# == 0 ]; then
|
||||||
|
Reference in New Issue
Block a user