summaryrefslogtreecommitdiffstats
path: root/scripts/mk-rescueimage.x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mk-rescueimage.x86_64')
-rwxr-xr-xscripts/mk-rescueimage.x86_644
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/mk-rescueimage.x86_64 b/scripts/mk-rescueimage.x86_64
index bae15d993..38939ea6b 100755
--- a/scripts/mk-rescueimage.x86_64
+++ b/scripts/mk-rescueimage.x86_64
@@ -19,7 +19,7 @@ def usage():
sys.exit(0)
-if len(sys.argv) < 4:
+if len(sys.argv) < 5:
usage()
sys.exit(1)
@@ -33,8 +33,6 @@ productname = sys.argv[3]
if len(sys.argv) > 4:
productpath = sys.argv[4]
-else:
- productpath = "RedHat"
# clean and create destination directory
os.system("rm -rf %s" % (destdir,))