File: E011_good.sh

package info (click to toggle)
python-bashate 2.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: python: 743; sh: 202; makefile: 22
file content (13 lines) | stat: -rw-r--r-- 155 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# E011 good
if [ 0 ]; then
    run_morethings
else
    run_otherthings
fi

# E011 with comment
if [ 0 ]; then # comment
    run_morethings
fi