summaryrefslogtreecommitdiffstats
path: root/command-stubs
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-07-31 20:40:00 +0000
committerJeremy Katz <katzj@redhat.com>2006-07-31 20:40:00 +0000
commitf0394b3244a88184553ebf2f85e0447b4384d333 (patch)
tree4cf451d5d22f5940eb760ba405a5eea4a32ea0dc /command-stubs
parent5c2f51738f4b1191595f9cd35ab7e1194c3b9535 (diff)
downloadanaconda-f0394b3244a88184553ebf2f85e0447b4384d333.tar.gz
anaconda-f0394b3244a88184553ebf2f85e0447b4384d333.tar.xz
anaconda-f0394b3244a88184553ebf2f85e0447b4384d333.zip
2006-07-31 Jeremy Katz <katzj@redhat.com>
* command-stubs/mknod-stub (main): More fixage (#200820)
Diffstat (limited to 'command-stubs')
-rwxr-xr-xcommand-stubs/mknod-stub4
1 files changed, 2 insertions, 2 deletions
diff --git a/command-stubs/mknod-stub b/command-stubs/mknod-stub
index f15c618bf..bc14c5bd0 100755
--- a/command-stubs/mknod-stub
+++ b/command-stubs/mknod-stub
@@ -1,6 +1,6 @@
#!/usr/bin/python
-import sys
+import sys, os
sys.path.append('/usr/lib/anaconda')
import isys
import string
@@ -48,7 +48,7 @@ def main():
minor = int(sys.argv[4])
path = sys.argv[1]
- isys.mknod(path, 0644 | type, os.makedev(major, minor))
+ os.mknod(path, 0644 | type, os.makedev(major, minor))
if __name__ == "__main__":
main()