Skip to content
This repository has been archived by the owner on Apr 7, 2019. It is now read-only.

Commit

Permalink
Uncomment --check-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkraljevic committed Jan 15, 2017
1 parent 43caf9c commit e6f319a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packaging/debian/steam/etc/init.d/steam
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ case "$1" in
exit 2
fi

# $DAEMON --check-admin
# if [ $? -ne 0 ]; then
# logger -s -p ERR "ERROR: no admin credentials set"
# echo ""
# echo "Try $0 set-admin"
# exit 2
# fi
$DAEMON --check-admin
if [ $? -ne 0 ]; then
logger -s -p ERR "ERROR: no admin credentials set"
echo ""
echo "Try $0 set-admin"
exit 2
fi

start-stop-daemon \
--start \
Expand Down

0 comments on commit e6f319a

Please sign in to comment.