Skip to content

Commit 21b616c

Browse files
Remove error message when reconfiguring Slurm
1 parent 4df3a74 commit 21b616c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/slurm_config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ playbooks_path=$folder/../playbooks/
1313

1414
if [[ `cat $conf_folder/queues.conf | grep instance_keyword | uniq -c -d | wc -l ` == 0 ]];
1515
then
16-
if [ ${@: -1} == "--INITIAL" or ${@: -1} == "--initial" or ${@: -1} == "-INITIAL" or ${@: -1} == "-initial"]
16+
if [[ ${@: -1} == "--INITIAL" || ${@: -1} == "--initial" || ${@: -1} == "-INITIAL" || ${@: -1} == "-initial" ]]
1717
then
1818
sudo rm /etc/slurm/topology.conf
1919
sudo /usr/sbin/slurmctld -c

0 commit comments

Comments
 (0)