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
1 changed files with 1 additions and 1 deletions

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,