X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Fglob.c;h=581bc2867ae7f22bc2e3b083000a09361bf9d231;hp=827e0624e8ee140e1049f4e60a22c98197bba1e0;hb=aa999d0586fd69094cb06ccb3ae5c429649662e0;hpb=394c8bec21d47b74567a4148fdbf87318c301441 diff --git a/fish/glob.c b/fish/glob.c index 827e062..581bc28 100644 --- a/fish/glob.c +++ b/fish/glob.c @@ -1,5 +1,5 @@ /* guestfish - the filesystem interactive shell - * Copyright (C) 2009 Red Hat Inc. + * Copyright (C) 2009 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -147,8 +147,8 @@ glob_issue (char *cmd, int argc, } printf ("\n"); - if (issue_command (argv[0], &argv[1]) == -1) - r = -1; /* ... but don't exit */ + if (issue_command (argv[0], &argv[1], NULL) == -1) + *r = -1; /* ... but don't exit */ for (i = argc-1; i >= 1; --i) { posn[i]++;