summaryrefslogtreecommitdiffstats
path: root/command-stubs
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-02-10 03:40:42 +0000
committerMike Fulbright <msf@redhat.com>2001-02-10 03:40:42 +0000
commit867e312c43573fc02baac0ee1e6f9795e14b6207 (patch)
tree9d1d48ad2ca899f03f72049ee64c16071645529a /command-stubs
parent0deb625f5ec6a946bb44c954fe49405b5c7d443d (diff)
downloadanaconda-867e312c43573fc02baac0ee1e6f9795e14b6207.tar.gz
anaconda-867e312c43573fc02baac0ee1e6f9795e14b6207.tar.xz
anaconda-867e312c43573fc02baac0ee1e6f9795e14b6207.zip
fix typo
Diffstat (limited to 'command-stubs')
-rwxr-xr-xcommand-stubs/losetup-stub2
1 files changed, 1 insertions, 1 deletions
diff --git a/command-stubs/losetup-stub b/command-stubs/losetup-stub
index fed047d97..1a542b5e8 100755
--- a/command-stubs/losetup-stub
+++ b/command-stubs/losetup-stub
@@ -28,7 +28,7 @@ if argv[1] == "-d" and len(argv[2] > 4) and argv[2][-5:-1] == "loop":
sys.exit (1)
sys.exit(0)
-if len(argv[1] > 4) and argv[1][-5:-1] == "loop":
+if len(argv[1]) > 4 and argv[1][-5:-1] == "loop":
try:
isys.makeDevInode(argv[1][-5:], argv[1])
isys.losetup(argv[1], argv[2])