summaryrefslogtreecommitdiffstats
path: root/command-stubs
diff options
context:
space:
mode:
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()