summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-02-20 19:48:12 +0000
committerMike Fulbright <msf@redhat.com>2001-02-20 19:48:12 +0000
commiteb8d4930aef8142bd179e21f771b80bbc313e6b6 (patch)
treef8b724d9646d8484d008b47c3b3d8b941946e8f0
parentc5bbdb20ad4b219f9d39283ffb44cb7228ea8c95 (diff)
downloadanaconda-eb8d4930aef8142bd179e21f771b80bbc313e6b6.tar.gz
anaconda-eb8d4930aef8142bd179e21f771b80bbc313e6b6.tar.xz
anaconda-eb8d4930aef8142bd179e21f771b80bbc313e6b6.zip
typo
-rwxr-xr-xcommand-stubs/losetup-stub2
-rwxr-xr-xlosetup-stub2
2 files changed, 2 insertions, 2 deletions
diff --git a/command-stubs/losetup-stub b/command-stubs/losetup-stub
index 1a542b5e8..e96f684ea 100755
--- a/command-stubs/losetup-stub
+++ b/command-stubs/losetup-stub
@@ -19,7 +19,7 @@ def usage():
if len(argv) < 3:
usage()
-if argv[1] == "-d" and len(argv[2] > 4) and argv[2][-5:-1] == "loop":
+if argv[1] == "-d" and len(argv[2]) > 4 and argv[2][-5:-1] == "loop":
try:
isys.makeDevInode(argv[2][-5:], argv[2])
isys.unlosetup(argv[2])
diff --git a/losetup-stub b/losetup-stub
index 1a542b5e8..e96f684ea 100755
--- a/losetup-stub
+++ b/losetup-stub
@@ -19,7 +19,7 @@ def usage():
if len(argv) < 3:
usage()
-if argv[1] == "-d" and len(argv[2] > 4) and argv[2][-5:-1] == "loop":
+if argv[1] == "-d" and len(argv[2]) > 4 and argv[2][-5:-1] == "loop":
try:
isys.makeDevInode(argv[2][-5:], argv[2])
isys.unlosetup(argv[2])