Skip to content

Commit 314f7aa

Browse files
author
Kristan Kenney
committed
Fix error in rebuild.sh
1 parent 9fd196f commit 314f7aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/rebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ rebuild_user_conf() {
1515
chmod 660 $USER_DATA/stats.log
1616

1717
# Update FNAME LNAME to NAME
18-
if [ -z $NAME ]; then
18+
if [ -z "$NAME" ]; then
1919
NAME="$FNAME $LNAME"
2020
sed -i "s/FNAME='$FNAME'/NAME='$NAME'/g" $USER_DATA/user.conf
2121
sed -i "/LNAME='$LNAME'/d" $USER_DATA/user.conf

0 commit comments

Comments
 (0)