X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Ftput.c;h=f25cbafbc61f6b2d8dadd4c3d40b83e9decc0076;hp=5069a5c31e4fc510ef193ddf9597d273e349ea07;hb=a3725e39272393790e32a083fd7391aad607828d;hpb=34d602f272c394e9a980438e636e1ce4d355f83b diff --git a/progs/tput.c b/progs/tput.c index 5069a5c3..f25cbafb 100644 --- a/progs/tput.c +++ b/progs/tput.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2013,2014 Free Software Foundation, Inc. * + * Copyright (c) 1998-2014,2015 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -47,7 +47,7 @@ #endif #include -MODULE_ID("$Id: tput.c,v 1.50 2014/05/21 16:57:16 tom Exp $") +MODULE_ID("$Id: tput.c,v 1.51 2015/05/23 23:42:55 tom Exp $") #define PUTS(s) fputs(s, stdout) #define PUTCHAR(c) putchar(c) @@ -120,7 +120,7 @@ tput(int argc, char *argv[]) check_aliases(name); if (is_reset || is_init) { if (init_prog != 0) { - system(init_prog); + IGNORE_RC(system(init_prog)); } FLUSH;