diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-10 01:32:48 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-10 01:32:48 +0000 |
commit | 3c0101e3177753e32449e76b2279441cf742d0c2 (patch) | |
tree | c75b0aa7414a0f151cd3041bf712f85792d03146 /collage | |
parent | d2bceb4e3c76a61592734c00fa1e92d4a4be3221 (diff) | |
download | anaconda-3c0101e3177753e32449e76b2279441cf742d0c2.tar.gz anaconda-3c0101e3177753e32449e76b2279441cf742d0c2.tar.xz anaconda-3c0101e3177753e32449e76b2279441cf742d0c2.zip |
fixed mknod
Diffstat (limited to 'collage')
-rw-r--r-- | collage/commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/collage/commands.c b/collage/commands.c index d7b9fce5f..f181b9cd3 100644 --- a/collage/commands.c +++ b/collage/commands.c @@ -174,6 +174,7 @@ int mknodCommand(int argc, char ** argv) { if (argc == 2) { end = path + strlen(path) - 1; while (end > path && *end != '/') end--; + if (*end == '/') end++; if (devMakeInode(end, path)) { return 1; |