Skip to content

Commit

Permalink
switch to LOGNMAE as putting in cron
Browse files Browse the repository at this point in the history
  • Loading branch information
ranguard committed Jul 15, 2016
1 parent a2981e5 commit 7a73d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
@@ -1,6 +1,6 @@
#!/bin/sh

if [ "$USER" != 'root' ]; then
if [ "$LOGNAME" != 'root' ]; then
echo "Must be root";
exit 1;
fi
Expand Down

0 comments on commit 7a73d32

Please sign in to comment.