1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtsession/SmSave: use absolute path to rm in system()

This commit is contained in:
Jon Trulson 2014-12-27 19:42:21 -07:00
parent e02c703af7
commit db8280189d

View file

@ -558,7 +558,7 @@ PruneSessionDirectory ()
if (((stat (saveDir, &buf)) == 0) &&
S_ISDIR (buf.st_mode)) {
sprintf (clientDB, "rm -rf %s", saveDir);
sprintf (clientDB, "/bin/rm -rf %s", saveDir);
SystemCmd (clientDB);
sprintf (oldestDir, "%s/%s", smGD.savePath,