Skip to content
Snippets Groups Projects
Commit bb40a12f authored by ale's avatar ale
Browse files

Drop bashisms

parent 8b9c6cf1
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
echo '# HELP node_reboot_required Node reboot is required for software updates.'
echo '# TYPE node_reboot_required gauge'
if [[ -f '/run/reboot-required' ]] ; then
if [ -f '/run/reboot-required' ]; then
echo 'node_reboot_required 1'
else
echo 'node_reboot_required 0'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment