summaryrefslogtreecommitdiffstats
path: root/driver/splash.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/splash.c')
-rw-r--r--driver/splash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/splash.c b/driver/splash.c
index a4f1761..b971ade 100644
--- a/driver/splash.c
+++ b/driver/splash.c
@@ -881,7 +881,7 @@ do_prefs (saver_screen_info *ssi)
saver_preferences *p = &si->prefs;
const char *cmd = p->prefs_command;
- if (command && *command)
+ if (cmd && *cmd)
fork_and_exec (ssi, cmd);
else
fprintf (stderr, "%s: no preferences command has been specified.\n",