From 478b20a62b56a8e6cf3f83e2b8bd44e92bce8d15 Mon Sep 17 00:00:00 2001
From: mathias <mathias>
Date: Mon, 24 Jan 2005 16:32:57 +0000
Subject: close #1107222

---
 util/fluxbox-generate_menu.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in
index 2805981..26e89b1 100755
--- a/util/fluxbox-generate_menu.in
+++ b/util/fluxbox-generate_menu.in
@@ -949,8 +949,8 @@ if [ -w "${MENUFILENAME}" ]; then
     if [ -f ${MENUFILENAME}.firstbak ]; then
         cp ${MENUFILENAME} ${MENUFILENAME}.firstbak
     fi
-    if [ -s "${MENUFILE}" ]; then
-       mv ${MENUFILE} ${MENUFILE}.bak
+    if [ -s "${MENUFILENAME}" ]; then
+       mv ${MENUFILENAME} ${MENUFILENAME}.bak
     fi
 fi
 
-- 
cgit v0.11.2