mkjail.sh

Check-in [86c7421ab3]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Move this check earlier so it fires first
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:86c7421ab33a16729aebcad066eb2c03fff82f8b6b7e5754f2d969cf16814def
User & Date: feld 2018-10-04 14:43:24
Context
2018-10-11
14:06
Improve rollback check-in: 822ad6fc41 user: feld tags: master, trunk
2018-10-04
14:43
Move this check earlier so it fires first check-in: 86c7421ab3 user: feld tags: master, trunk
14:41
Set a default variable for VERSION check-in: 1d6629c0d9 user: feld tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/share/mkjail/upgrade.sh.

104
105
106
107
108
109
110




111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
            ;;
        v)  vflag=1; VERSION=${OPTARG}
            ;;
        *)  show_help
            ;;
    esac
done





if [ ${aflag} = 1 ] && [ ${jflag} = 1 ]; then
    show_help
fi

if [ ${aflag} = 1 ]; then
    _alljails
fi

if [ ${jflag} = 1 ]; then
    _upgradejail
fi

if [ ${vflag} = 0 ]; then
    show_help
fi

[ $# -lt 1 ] && show_help







>
>
>
>













<
<
<
<

104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127




128
            ;;
        v)  vflag=1; VERSION=${OPTARG}
            ;;
        *)  show_help
            ;;
    esac
done

if [ ${vflag} = 0 ]; then
    show_help
fi

if [ ${aflag} = 1 ] && [ ${jflag} = 1 ]; then
    show_help
fi

if [ ${aflag} = 1 ]; then
    _alljails
fi

if [ ${jflag} = 1 ]; then
    _upgradejail
fi





[ $# -lt 1 ] && show_help