summaryrefslogtreecommitdiffstats
path: root/lava-master
diff options
context:
space:
mode:
authorkhilman <khilman@users.noreply.github.com>2018-12-06 16:34:07 -0800
committerGitHub <noreply@github.com>2018-12-06 16:34:07 -0800
commit19fe02f7a341e302e3ad560fcb4cc872f2201a5c (patch)
tree6407f8ddb682f4c66154a73462edc538318f8191 /lava-master
parent7442ca80b0f0fd125fcaf5dc34c30fd4b23341bd (diff)
parent5e382d869da96d31a21316edd6d68e444b43ecca (diff)
Merge pull request #77 from montjoie/misc
Misc
Diffstat (limited to 'lava-master')
-rwxr-xr-xlava-master/scripts/setup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lava-master/scripts/setup.sh b/lava-master/scripts/setup.sh
index e662a2b..34cd0a1 100755
--- a/lava-master/scripts/setup.sh
+++ b/lava-master/scripts/setup.sh
@@ -71,7 +71,8 @@ if [ -e /root/lava-groups ];then
echo "Handle groups"
echo "======================================================"
GROUP_CURRENT_LIST=/tmp/group.list
- lava-server manage groups list |grep '^\*' > $GROUP_CURRENT_LIST || exit 1
+ lava-server manage groups list > ${GROUP_CURRENT_LIST}.raw || exit 1
+ grep '^\*' ${GROUP_CURRENT_LIST}.raw > ${GROUP_CURRENT_LIST}
for group in $(ls /root/lava-groups/*group)
do
GROUPNAME=""