Skip to content

Commit be886d1

Browse files
committed
Fix inverted condition
1 parent 2c408eb commit be886d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/share/classes/com/sun/btrace/compiler/Compiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public static void main(String[] args) throws Exception {
155155
usage();
156156
}
157157

158-
if (generatePack && packExtension != null) {
158+
if (!generatePack && packExtension != null) {
159159
usage("Can not specify pack extension if not using packs (-nopack)");
160160
}
161161

0 commit comments

Comments
 (0)