Skip to content

Commit 519d63f

Browse files
authored
Merge pull request #4 from NVIDIA/fix_tuning_2
fix(tuning): use -gt 0 not -eq 0
2 parents 3dba901 + d05e8fc commit 519d63f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tuning/skyhook_dir/update_settings.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ if [ -f ${SKYHOOK_DIR}/configmaps/ulimit.conf ]; then
8888
done
8989
fi
9090

91-
if [ $(ls ${SKYHOOK_DIR}/configmaps | grep -c service_.*.conf) -eq 0 ]; then
91+
if [ $(ls ${SKYHOOK_DIR}/configmaps | grep -c service_.*.conf) -gt 0 ]; then
9292
# Loop through all service files and add them as drop-ins
9393
for f in ${SKYHOOK_DIR}/configmaps/service_*.conf; do
9494
service_name=$(basename ${f} | cut -f 2 -d _ | cut -f 1 -d .)

0 commit comments

Comments
 (0)